NAT works for Windows Client but not for Linux

Started by drdownload, August 27, 2024, 07:56:24 AM

Previous topic - Next topic
I set up proxmox on an public root server. all traffic besides of port 22 and 8006 is directed to opnsense

now ive got 2 network bridges for opnsense, 1 for the wan and 1 for the lan. dhcp server is enabled on the lan.

hosts in the "lan" get IP addresses from opnsense. ive got a virtual windows 11 client where dns resolution and NAT for internet access works.

however if I boot up a linux server/client DNS doenst work, but the firewall logs dont show any blocks. also unbound only registers dns querys from the windows client and single hits from the linux servers but they dont get responses or not all and hang in a loop

i tried different network card setups in proxmox for linux, but to no avail.

im kind of running out of ideas (opnsense is ofc updated)

Try passing through the WAN network interface to OPNsense rather than bridging it.

https://pve.proxmox.com/wiki/PCI_Passthrough

It never stops to amaze me: I installed an Desktop Linux and NAT works, but it wont work in an linux debian server and talos, veeery strange. also 3cx debian iso had a hard time and now it works.

Quote from: bartjsmit on August 27, 2024, 07:59:35 AM
Try passing through the WAN network interface to OPNsense rather than bridging it.

https://pve.proxmox.com/wiki/PCI_Passthrough

its not practical in my setup, OPNsense just breaks to often in updates to give it the only nic of the server with passthrough.