summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-17 09:21:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-17 10:01:23 +0100
commit4e34c17570467348d18e30f72795ca2c312e542f (patch)
tree45d9498a2d0cdd3ef82be9a3e53d1ffb3e33279e /sysconf
parent51488d471adb4b3b0c8320ae56807053c9fb4a6b (diff)
downloadvyatta-cfg-system-4e34c17570467348d18e30f72795ca2c312e542f.tar.gz
vyatta-cfg-system-4e34c17570467348d18e30f72795ca2c312e542f.zip
T671: cleanup rl-system and move components to better suited locations
- CHanging sysctl values should be done by out generic file /etc/sysctl.d/30-vyatta-router.conf - NTP config must not be restored from from /opt as it is entirely rendered from scratch. (cherry picked from commit b74daed7c3d2e302426fd5c6ace7e299d4278ca0)
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/ntp.conf24
-rw-r--r--sysconf/vyatta-sysctl.conf3
2 files changed, 3 insertions, 24 deletions
diff --git a/sysconf/ntp.conf b/sysconf/ntp.conf
deleted file mode 100644
index 855d5097..00000000
--- a/sysconf/ntp.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
-
-# This configuration file is automatically generated by the Vyatta
-# configuration subsystem. Please do not manually edit it.
-#
-# The first section of this file consists of static parameters
-# (that can not be changed via the VyOS CLI) and default values
-# that prevent ntpd being queried (client only mode).
-#
-
-driftfile /var/lib/ntp/ntp.drift
-
-# By default, only allow ntpd to query time sources, ignore any
-# incoming requests.
-
-restrict default ignore
-restrict -6 default ignore
-
-# Local users have unrestricted access, allowing reconfiguration
-# via ntpdc
-restrict 127.0.0.1
-restrict -6 ::1
-
-# VyOS CLI configuration options
diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf
index 0314fcc5..01ae92f8 100644
--- a/sysconf/vyatta-sysctl.conf
+++ b/sysconf/vyatta-sysctl.conf
@@ -71,6 +71,9 @@ net.ipv4.conf.all.send_redirects=1
# Increase size of buffer for netlink
net.core.rmem_max=2097152
+# Enable packet forwarding for IPv6
+net.ipv6.conf.all.forwarding=1
+
# Do not forget IPv6 addresses when a link goes down
net.ipv6.conf.default.keep_addr_on_down=1
net.ipv6.conf.all.keep_addr_on_down=1