aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/lxc-net2
1 files changed, 1 insertions, 1 deletions
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