I am having problems setting up a VM as the default gateway, here is my setup so far...
The host has 2 NIC setup, one of them on the LAN and the other is plugged in to my ISP router. I then setup a VM for pfSense and gave it 2 NICs, vmbr0 LAN 192.168.10.1 and vmbr1 WAN 192.168.1.100, this is connected directly to my router (192.168.1.254).
I can access the internet from clients on my network when setting the default gw as 192.168.10.1 but the proxmox host can't connect to the internet.
I am also having problems with NAT on incoming ports from the internet, if I try to access an internal client from the internet the connection just times out, i have disabled the firewall on the router and set the pfSense VM as the DMZ.
The host has 2 NIC setup, one of them on the LAN and the other is plugged in to my ISP router. I then setup a VM for pfSense and gave it 2 NICs, vmbr0 LAN 192.168.10.1 and vmbr1 WAN 192.168.1.100, this is connected directly to my router (192.168.1.254).
I can access the internet from clients on my network when setting the default gw as 192.168.10.1 but the proxmox host can't connect to the internet.
I am also having problems with NAT on incoming ports from the internet, if I try to access an internal client from the internet the connection just times out, i have disabled the firewall on the router and set the pfSense VM as the DMZ.
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.10.30
netmask 255.255.255.0
gateway 192.168.10.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0