summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/rl-system.init5
-rw-r--r--sysconf/vyatta-sysctl.conf4
2 files changed, 4 insertions, 5 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index d37e651c..09d4509e 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -143,6 +143,9 @@ set_ipv6_params ()
return
fi
+ # Enable forwarding
+ echo 1 >/proc/sys/net/ipv6/conf/all/forwarding
+
# These values all should be disabled
for p in accept_source_route accept_redirects address_flush
do
@@ -168,7 +171,7 @@ pam_reset () {
then pam-auth-update --remove radius
fi
}
-
+
start () {
udev_rescan
create_ssh_host_keys || \
diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf
index 928cd6fb..f10f4541 100644
--- a/sysconf/vyatta-sysctl.conf
+++ b/sysconf/vyatta-sysctl.conf
@@ -60,7 +60,3 @@ net.ipv4.conf.default.accept_source_route=0
# Enable send_redirects by default
net.ipv4.conf.all.send_redirects=1
-# IPv6 parameters:
-
-# Enable packet forwarding for IPv6
-net.ipv6.conf.all.forwarding=1