Hello everyone,
I'm facing an issue with my Proxmox setup, where I'm using an Arista NG firewall. Here’s the network setup:
External and DMZ Network (vmbr0 and vmbr1)
Test VM Network (vmbr1)
Can anyone guide me on properly configuring the Arista NG firewall and Proxmox networking to achieve this? Any suggestions or insights would be greatly appreciated.
Thank you!
I'm facing an issue with my Proxmox setup, where I'm using an Arista NG firewall. Here’s the network setup:
External and DMZ Network (vmbr0 and vmbr1)
- Network: 123.456.789.192/27
- External IP: 123.456.789.221
- Gateway: 123.456.789.222
- DMZ is bridged to External and does not have its IP
Test VM Network (vmbr1)
- IP: 123.456.789.219/27
- Gateway: 123.456.789.222
- Using vmbr1
- From the test VM, I can ping any IP.
- From an external source, I can ping 123.456.789.219.
- Despite opening all ports in the firewall, I can't access any services inside the VM (e.g., SSH).
- From the test VM, I can't access external services (only ping/mtr works).
- It works if I set a bypass rule or NAT rule to 123.456.789.219, but the test VM sees the incoming connections as coming from the firewall IP.
- The same setup using OPNsense works as expected.
Code:
auto lo
iface lo inet loopback
auto enp26s0f0np0
iface enp26s0f0np0 inet manual
auto enp26s0f1np1
iface enp26s0f1np1 inet manual
auto enp96s0f0np0
iface enp96s0f0np0 inet manual
bond-master bond1
auto enp96s0f1np1
iface enp96s0f1np1 inet manual
bond-master bond1
auto bond0
iface bond0 inet static
address xx.xx.xx.25/32
gateway xx.xx.0.1
bond-slaves enp26s0f0np0 enp26s0f1np1
bond-miimon 100
bond-mode 802.3ad
auto bond1
iface bond1 inet manual
bond-slaves enp96s0f0np0 enp96s0f1np1
bond-miimon 100
bond-mode 802.3ad
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond1
bridge-stp off
bridge-fd 0
auto vmbr0:0
iface vmbr0:0 inet static
address 10.10.0.4/16
auto vmbr1
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
post-up ip route add 10.10.0.0/16 via 10.10.0.4 dev vmbr0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
I want to avoid using NAT and keep all IPs as they are. The test VM should see the actual source IPs of incoming connections.Can anyone guide me on properly configuring the Arista NG firewall and Proxmox networking to achieve this? Any suggestions or insights would be greatly appreciated.
Thank you!