Hi,
I’m supposed to know what I’m doing, yet I can’t explain what I’m missing or doing wrong.
I have this setup where Rocky Linux 8 is my file server, and has a VM running an old RHEL5 that serves all the other stuff I’ve been configuring for decades and don’t want to do again.
This machine has 2 ETH interfaces, and 2 virtual bridges. Each interface belongs to a bridge, and the same occur in the VM. One faces inwards, the other faces a fiber router with built-in firewalling.
The VM gets its IP from the fiber router (DHCP) and runs a masquerading firewall, so it NATs all traffic from the other interface. This includes my whole workplace and home, and the Rocky Linux host.
The outside facing bridge has had a dummy address so far, as it has not been in use.
Recently I requested a public IP address, and so had to assign a specific address to the outside facing bridge in Rocky Linux. The fiber router identifies my machine and forwards all incoming traffic to my MAC and IP, in fact I’m able to see this traffic with a sniffer. So far, so good. I can ping the router and get a response; traceroute shows one hop
Of course I want to do something more than sniff traffic, but unfortunately I’m unable to get anything out of the bridge.
Both inward and outward bridges are configured the same. My Rocky can be reached from other machines on the internal LAN. On the outside facing network, things are different.
So, the outside facing network has two physical machines: the fiber router and the Rocky. The Rocky ETH belongs to a bridge, and the VM virtual eth has been configured to be part of this bridge.
Firewalld is disabled, verified not running
iptables and nft show empty tables and default accept policies
selinux disabled at boot
Yet, if I open a socket listening on an UDP port where I see lots of messages on Wireshark, I get no traffic.
I can ping the fiber router and get a response
I can send myself traffic to the bridge address, and I see it back.
Again, both bridges have the same config and everything works OK on the internal bridge.
__________________ ________________________
| virbr0 | | virbr1 |
| 192.168.69.3 | | "DMZ", public address |
| | | |
Internal LAN ------| enp2s7 services enp2s6 |---------- Fiber router --- Internet
| | | |
| | | |
| ------------------ VM ------------------------- |
| | | | | |
| | eth0 services FW eth1 | |
| | 192.168.69.2 | | DHCP | |
| | 192.168.69.1 | | | |
| ------------------------------------------------ |
|__________________| |________________________|
Routing logical flow
Internal LAN ------ enp2s7 --- eth0 FW eth1 --- enp2s6
|
Rocky services virbr0 -