aboutsummaryrefslogtreecommitdiff
path: root/local/bin/lxc-net
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-08 21:45:37 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-08 21:45:37 +0200
commit5466e3d6599181f07ea5824b0eba22d0c333dc3f (patch)
treef467bc179b4f65ca3903b4fe1d5bbfda28c672df /local/bin/lxc-net
parent020a96cf66595d47eba58724d28aeb3e88c907cf (diff)
downloadmyconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.tar.gz
myconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.tar.bz2
myconfigs-5466e3d6599181f07ea5824b0eba22d0c333dc3f.zip
Changes made while transferring to gentoo
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 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