From 723729d8ccede43c2a3520b8d7d1d46cc547ab1e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 20 Nov 2018 16:00:44 +0100 Subject: [PATCH] interfaces --- in/tasks.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/in/tasks.rst b/in/tasks.rst index a0efccc..99aca5b 100644 --- a/in/tasks.rst +++ b/in/tasks.rst @@ -5,6 +5,7 @@ Tasks * lxc private network: reach out * /etc/sysctl.conf net.ipv4.ip_forward=1 | /proc/sys/net/ipv4/ip_forward + * /etc/network/interfaces → up iptables -t nat -A POSTROUTING -o br0 -j MASQUERADE * iptables -t nat -A POSTROUTING -o br0 -s 10.0.0.0/8 -j MASQUERADE * hexdump -C -v file_path * qemu-system avoid junk like floppy: -nodefaults -vga virtio