Hello,
I am trying to set up a private network on proxmox. I did it according to the documentation https://pve.proxmox.com/wiki/Network_Configuration, but the machine does not have internet access. Proxmox is installed on a dedicated server that has only one NIC card.
Below I am sending the configuration that is currently applied on server.
Could I please help with the configuration?
I am trying to set up a private network on proxmox. I did it according to the documentation https://pve.proxmox.com/wiki/Network_Configuration, but the machine does not have internet access. Proxmox is installed on a dedicated server that has only one NIC card.
Below I am sending the configuration that is currently applied on server.
Code:
# network interfaces
auto lo
iface lo inet loopback
iface eno3 inet manual
auto vmbr0
iface vmbr0 inet dhcp
bridge-ports eno3
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.50.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 '192.168.50.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.50.0/24' -o vmbr0 -j MASQUERADE
Could I please help with the configuration?