aboutsummaryrefslogtreecommitdiff
path: root/local/bin/lxc-net
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-01-09 09:49:57 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-01-09 09:49:57 +0100
commitf28141af72b82a1e203bf9008b14c6fee062d7cc (patch)
treeda382b9a8cc02f2461ec3416a61803b1a58d1cbf /local/bin/lxc-net
parent0adc093d95468039634a14c402972ff3cee58d8a (diff)
downloadmyconfigs-f28141af72b82a1e203bf9008b14c6fee062d7cc.tar.gz
myconfigs-f28141af72b82a1e203bf9008b14c6fee062d7cc.tar.bz2
myconfigs-f28141af72b82a1e203bf9008b14c6fee062d7cc.zip
Add packages from work pc
Diffstat (limited to 'local/bin/lxc-net')
-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