1
0
Fork 0

Disable kernel IP forwarding

This commit is contained in:
Braiden Vasco 2017-09-13 21:43:12 +00:00
parent 5a52ee8c13
commit 15b3d319a4
3 changed files with 0 additions and 17 deletions

View file

@ -341,11 +341,6 @@ apply_patch '08-dhcp-server.diff'
apply_dir '/etc/dhcp/dhcpd.conf.d/'
apply_file 644 '/etc/dhcp/dhcpd.conf.d/192.168.82.0.conf'
##
# IP forwarding.
#
apply_patch '09-ipv4-forwarding.diff'
##
# Unmount virtual file systems.
#

View file

@ -1,11 +0,0 @@
--- rootfs.orig/etc/sysctl.conf
+++ rootfs/etc/sysctl.conf
@@ -25,7 +25,7 @@
#net.ipv4.tcp_syncookies=1
# Uncomment the next line to enable packet forwarding for IPv4
-#net.ipv4.ip_forward=1
+net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration

View file

@ -5,4 +5,3 @@
05-useradd.diff
07-path.diff
08-dhcp-server.diff
09-ipv4-forwarding.diff