Disable kernel IP forwarding
This commit is contained in:
parent
5a52ee8c13
commit
15b3d319a4
3 changed files with 0 additions and 17 deletions
5
build.sh
5
build.sh
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
|
@ -5,4 +5,3 @@
|
|||
05-useradd.diff
|
||||
07-path.diff
|
||||
08-dhcp-server.diff
|
||||
09-ipv4-forwarding.diff
|
||||
|
|
Reference in a new issue