Page MenuHomePhabricator
Authored By
Paladox
Dec 21 2019, 2:26 AM
Size
618 B
Referenced Files
None
Subscribers
None
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 manual
pre-up sleep 5
up dhclient -6 -nw -v eth0
down dhclient -6 -r -v eth0
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 10.0.0.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.0.0.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/24' -o eth0 -j MASQUERADE

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8270399
Default Alt Text
raw.txt (618 B)

Event Timeline