Page Menu
Home
Miraheze
Search
Configure Global Search
Log In
Paste
P261
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Paladox
on Feb 3 2020, 23:48.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F1117732: raw.txt
Feb 3 2020, 23:48
2020-02-03 23:48:23 (UTC+0)
Subscribers
None
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
Event Timeline
Paladox
created this paste.
Feb 3 2020, 23:48
2020-02-03 23:48:23 (UTC+0)
Log In to Comment