Hi,
We have a cluster with two servers @ hetzner. Each one with it's uplink for WAN, let's say eno3 on each one.
We also have another two interfaces connected to a switch, so each server will communicate to each other over the LAN.
eno3 --- bridge --> vmbr0 (WAN Internet access)
eno 1 & eno2 -- connected to switch ---> bond0 on proxmox server (active-backup)
vmbr1 --> bridge for bond0 -- access to LAN
We also have a vSwitch from Hetzner with a /29 subnet IPs associated over a VLAN (first ip from /29 is the gateway from Hetzner -- different from the main IP which is on eno3 interface).
We configured eno3.VLANID interface with no IP address on it and then created vmbr2 (no ip address assigned) bridge for eno3.VLAN
On one of our VM created on the Host, we added an interface eno1 -- from vmbr2 and assigned a public IP address from that /29 subnet.
Everything is working well, we are able to access the internet from the VM with that IP, and we can be reached from the internet using that IP.
The problem is when we try to enable the Firewall from Proxmox interface, we can be accesed from outside, but we're not able to access anything outside from that VM.
We tried the following:
1.1. Enable Firewall on Data center:
Input Policy: DROP
Output Policy: ACCEPT
1.2. Enable Firewall on host level:
1.3. Enable Firewall on VM interface:
Input Policy: DROP
Output Policy: ACCEPT
Using this config we're unable to access the VM from outside (which should be ok), but we are also not able to access the internet from the VM.
The second test we made was:
Input Policy: ACCEPT on all levels (datacenter, VM)
Output Policy: ACCEPT on all levels.
We can be accessed from the internet, but we are still unable to access the internet from VM.
After reading some other posts on this forum, I tried to disable ebtables and reboot the host..but the results are still the same.
We installed proxmox using the Proxmox VE 6.0 ISO Installer.
/etc/network/interfaces
Anyone any ideea ?
Thanks in advance!
We have a cluster with two servers @ hetzner. Each one with it's uplink for WAN, let's say eno3 on each one.
We also have another two interfaces connected to a switch, so each server will communicate to each other over the LAN.
eno3 --- bridge --> vmbr0 (WAN Internet access)
eno 1 & eno2 -- connected to switch ---> bond0 on proxmox server (active-backup)
vmbr1 --> bridge for bond0 -- access to LAN
We also have a vSwitch from Hetzner with a /29 subnet IPs associated over a VLAN (first ip from /29 is the gateway from Hetzner -- different from the main IP which is on eno3 interface).
We configured eno3.VLANID interface with no IP address on it and then created vmbr2 (no ip address assigned) bridge for eno3.VLAN
On one of our VM created on the Host, we added an interface eno1 -- from vmbr2 and assigned a public IP address from that /29 subnet.
Everything is working well, we are able to access the internet from the VM with that IP, and we can be reached from the internet using that IP.
The problem is when we try to enable the Firewall from Proxmox interface, we can be accesed from outside, but we're not able to access anything outside from that VM.
We tried the following:
1.1. Enable Firewall on Data center:
Input Policy: DROP
Output Policy: ACCEPT
1.2. Enable Firewall on host level:
1.3. Enable Firewall on VM interface:
Input Policy: DROP
Output Policy: ACCEPT
Using this config we're unable to access the VM from outside (which should be ok), but we are also not able to access the internet from the VM.
The second test we made was:
Input Policy: ACCEPT on all levels (datacenter, VM)
Output Policy: ACCEPT on all levels.
We can be accessed from the internet, but we are still unable to access the internet from VM.
After reading some other posts on this forum, I tried to disable ebtables and reboot the host..but the results are still the same.
We installed proxmox using the Proxmox VE 6.0 ISO Installer.
/etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto eno3
iface eno3 inet manual
iface eno4 inet manual
iface eno1 inet manual
iface eno2 inet manual
auto eno3.4010
iface eno3.4010 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode active-backup
#active-backup 10G
auto vmbr0
iface vmbr0 inet static
address XX.XX.XX.170
netmask 25
gateway XX.XX.XX.129
bridge-ports eno3
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#WAN Interface
auto vmbr1
iface vmbr1 inet static
address YY.YY.YY.10
netmask 24
bridge-ports bond0
bridge-stp off
bridge-fd 0
#LAN Interface
auto vmbr2
iface vmbr2 inet manual
bridge-ports eno3.4010
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#VLAN Interface for vSwitch
Anyone any ideea ?
Thanks in advance!