Created
May 21, 2019 17:33
-
-
Save EvilFreelancer/77709fec36bce091b627994607ad34b9 to your computer and use it in GitHub Desktop.
Network configuration for Proxmox for LXC containers forwarding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto lo | |
iface lo inet loopback | |
iface enp0s3 inet manual | |
auto vmbr0 | |
iface vmbr0 inet static | |
address 192.168.1.100 | |
netmask 255.255.255.0 | |
gateway 192.168.1.1 | |
bridge_ports enp0s3 | |
bridge_stp off | |
bridge_fd 0 | |
post-up echo 1 > /proc/sys/net/ipv4/ip_forward | |
post-up echo 1 > /proc/sys/net/ipv4/conf/enp0s3/proxy_arp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment