From 4e34c17570467348d18e30f72795ca2c312e542f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 17 Jan 2021 09:21:22 +0100 Subject: 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) --- sysconf/ntp.conf | 24 ------------------------ sysconf/vyatta-sysctl.conf | 3 +++ 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 sysconf/ntp.conf (limited to 'sysconf') 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 -- cgit v1.2.3