Skip to content

Instantly share code, notes, and snippets.

@EvilFreelancer
Created May 21, 2019 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EvilFreelancer/77709fec36bce091b627994607ad34b9 to your computer and use it in GitHub Desktop.
Save EvilFreelancer/77709fec36bce091b627994607ad34b9 to your computer and use it in GitHub Desktop.
Network configuration for Proxmox for LXC containers forwarding
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