Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@gw:/etc/network# cat /etc/sysctl.conf
- net.ipv4.conf.default.rp_filter=1
- net.ipv4.conf.all.rp_filter=1
- #net.ipv4.tcp_syncookies=1
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.accept_redirects = 0
- net.ipv4.conf.all.send_redirects = 0
- net.ipv4.conf.all.accept_source_route = 0
- #IPV6
- net.ipv6.conf.all.forwarding=1
- net.ipv6.conf.all.accept_ra = 0
- net.ipv6.conf.all.accept_redirects = 0
- net.ipv6.conf.all.accept_ra_defrtr = 0
- net.ipv6.conf.all.accept_ra_pinfo = 0
- net.ipv6.conf.all.accept_ra_rtr_pref = 0
- net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0
- net.ipv6.conf.all.accept_source_route = 0
- net.ipv6.conf.all.accept_dad = 0
- net.ipv6.conf.default.accept_ra = 0
- net.ipv6.conf.default.accept_redirects = 0
- net.ipv6.conf.default.accept_ra_defrtr = 0
- net.ipv6.conf.default.accept_ra_pinfo = 0
- net.ipv6.conf.default.accept_ra_rtr_pref = 0
- net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0
- net.ipv6.conf.default.accept_source_route = 0
- net.ipv6.conf.default.accept_dad = 0
- net.ipv6.conf.lo.accept_ra = 0
- net.ipv6.conf.lo.accept_redirects = 0
- net.ipv6.conf.lo.accept_ra_defrtr = 0
- net.ipv6.conf.lo.accept_ra_pinfo = 0
- net.ipv6.conf.lo.accept_ra_rtr_pref = 0
- net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0
- net.ipv6.conf.lo.accept_source_route = 0
- net.ipv6.conf.lo.accept_dad = -0
- net.ipv6.conf.eth0.accept_ra = 0
- net.ipv6.conf.eth0.accept_redirects = 0
- net.ipv6.conf.eth0.accept_ra_defrtr = 0
- net.ipv6.conf.eth0.accept_ra_pinfo = 0
- net.ipv6.conf.eth0.accept_ra_rtr_pref = 0
- net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 0
- net.ipv6.conf.eth0.accept_source_route = 0
- net.ipv6.conf.eth0.accept_dad = 0
- net.ipv6.conf.all.autoconf = 0
- net.ipv6.conf.default.autoconf = 0
- net.ipv6.conf.lo.autoconf = 0
- net.ipv6.conf.eth0.autoconf = 0
- root@gw:/etc/network#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement