I’m sorry for such a simple question, but I have no idea what is missing.
I had configured nethserver so only interface X (in green) has internet access. After that, I have added a bunch of other network interfaces in green, firewall rules, etc and interface X no longer has internet access. I have tried to fix that, but I cannot find the problem. I have seen the documentation, but something is missing, and I have tried everything that I can remember.
Do you have any link, information or idea of what I broke?
I have nethserver running on a proxmox. What I have said is kind of vague, feel free to ask for more information!
I deleted eth5 to eth15 that follow the same pattern as eth3 and eth4, to shorten.
The interface that I want internet on is eth1.
The output of db networks show:
The RED to private IPs are due to problems with hetzner saying that I am running pentests.
I have other firewall rules that say that vpnX can only reach eth4, for example. But they don’t affect eth1.
This is what I set up on Hetzner since xmas. Hetzner is a bit tricky, as the Server can have a different set of IP than an additional pool of IPs allocated for routing via the first IP on the server. Sometimes these are on a seperate subnet, meaning you need to sacrifice an IP just for routing…
My firewall is OPNsense, which can handle a mix of 1:N and 1:1 NATs very well.
I changed the default VPN network to 172.x.x.x, so I think there shouldn’t be any problem.
For DHCP changing to 2 still doesn’t fix the problem.
Tomorrow I’ll change the network from 192.168.100.x to something else to see if that solves the problem.
Is there anything else that I should configure in a interface so that it has internet access?
Please try to remove/disable the firewall blocking rules from red to internal networks. NethServer blocks this traffic by default, so it’s not needed and may cause issues.