From 5466e3d6599181f07ea5824b0eba22d0c333dc3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Apr 2017 21:45:37 +0200 Subject: Changes made while transferring to gentoo --- local/bin/lxc-net | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'local/bin/lxc-net') diff --git a/local/bin/lxc-net b/local/bin/lxc-net index 0821571..53ccb50 100755 --- a/local/bin/lxc-net +++ b/local/bin/lxc-net @@ -37,5 +37,5 @@ subnet 192.168.30.0 netmask 255.255.255.0 { dhcpd -4 -pf /tmp/lxc-dhcpd.pid -cf /tmp/lxc-dhcpd.conf vbr0 # Setup network forwarding (TODO add -o ethX to iptable command) -sysctl net.ipv4.ip_forward=1 +sysctl -w net.ipv4.ip_forward=1 iptables -t nat -A POSTROUTING -j MASQUERADE -- cgit v1.2.3