From f28141af72b82a1e203bf9008b14c6fee062d7cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 9 Jan 2017 09:49:57 +0100 Subject: Add packages from work pc --- 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 d7e4a17..a1725fc 100755 --- a/local/bin/lxc-net +++ b/local/bin/lxc-net @@ -36,5 +36,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 net.ipv4.ip_forward=1 iptables -t nat -A POSTROUTING -j MASQUERADE -- cgit v1.2.3