Page Menu
Home
Miraheze
Search
Configure Global Search
Log In
Paste
P262
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Paladox
on Feb 7 2020, 16:12.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F1119034: raw.txt
Feb 7 2020, 16:12
2020-02-07 16:12:06 (UTC+0)
Subscribers
None
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno1 inet6 static
address 2001:41d0:800:1056::1
netmask 128
post-up /sbin/ip -f inet6 route add 2001:41D0:800:10FF:FF:FF:FF:FF dev eno1
post-up /sbin/ip -f inet6 route add default via 2001:41D0:800:10FF:FF:FF:FF:FF
pre-down /sbin/ip -f inet6 route del IPv6_GATEWAY dev eno1
pre-down /sbin/ip -f inet6 route del default via 2001:41D0:800:10FF:FF:FF:FF:FF
auto vmbr0
iface vmbr0 inet static
address 54.36.165.86
netmask 255.255.255.0
broadcast 54.36.165.255
gateway 54.36.165.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 10.0.1.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.1.0/24' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.1.0/24' -o eno1 -j MASQUERADE
Event Timeline
Paladox
created this paste.
Feb 7 2020, 16:12
2020-02-07 16:12:06 (UTC+0)
Log In to Comment