OPNsense Forum

English Forums => General Discussion => Topic started by: kc9joy on April 27, 2026, 12:59:07 AM

Title: 2nd LAN Port has no Internet / Update
Post by: kc9joy on April 27, 2026, 12:59:07 AM
   Setup is a dell computer with 2 network cards each dual nic and the default onboard nic.  I have one set (wan, lan) working just fine.  I added another port into the setup as a second lan connection with its own ip address and dhcp.  Made sure to add a rule for pass in the fire wall.  So where I am running into the issue is that the second lan does not have internet access.  It does issue the ip correctly to the machines that are connected.  Not sure what I am missing.
Title: Re: 2nd LAN Port has no Internet / Update
Post by: stefanpf on April 27, 2026, 04:29:26 AM
Hi,

It sounds like a DHCP range is missing for the second LAN interface.
Take a look at the relevant sections in Dnsmasq.
Also check the interface binding settings for Dnsmasq and Unbound.
I'm not entirely sure about this, but you might need to add a rule for the DNS destination "this firewall" on UDP port 53 on the second interface.
Title: Re: 2nd LAN Port has no Internet / Update
Post by: nero355 on April 27, 2026, 03:08:27 PM
Quote from: kc9joy on April 27, 2026, 12:59:07 AMMade sure to add a rule for pass in the fire wall.
The easiest thing to do when creating your second network is to copy the 'Default Allow Any to Any' Firewall Rules from the first network that OPNsense creates by default called LAN to the Firewall Rules of the second network which I will call LAN2 for the sake of simplicity.

So just copy those two rules from LAN to LAN2 and you should have Internet Access by default!

QuoteSo where I am running into the issue is that the second lan does not have internet access.
It does issue the ip correctly to the machines that are connected.
If you are sure you have done the above then compare the Firewall Rules of LAN with those for LAN2 and you should spot the difference between the two :)
Title: Re: 2nd LAN Port has no Internet / Update
Post by: kc9joy on April 30, 2026, 06:07:06 PM
I went back through my firewall and interfaces and rebuilt the ports.  I now have been able to get the internet to work.  Thanks for the help