Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Lan has no internet
« previous
next »
Print
Pages: [
1
]
Author
Topic: Lan has no internet (Read 1158 times)
guest41860
Guest
Lan has no internet
«
on:
December 24, 2023, 06:03:19 pm »
Hi all,
I'm currently replacing my ISP router with my own GPON, I have spoofed the serial number to get the fiber connectivity and it works!
Then I installed OPNsense on a device to become my new router, I have spoofed the MAC address, created a VLAN (on WAN) and I am sending the good DHCP options to get a lease, it works too, I get an IP!
But now I'm facing a problem and I don't know what is wrong. Neither OPNsense nor the devices connected on the LAN have internet.
The internet Gateway is an upstream gateway, the outbound rules are the default one and I created rules to allow all the traffic in both directions on all the interfaces.
If I try to query a DNS server from my laptop, I don't receive any response, the LAN interface neither. But I can see the response in a packet capture on the internet interface.
Do you have any idea to fix this please?
Logged
cookiemonster
Hero Member
Posts: 1821
Karma: 95
Re: Lan has no internet
«
Reply #1 on:
December 25, 2023, 02:51:06 pm »
OPN seems fine at first glance. Query in on LAN, out on WAN aka "Internet" and back in, then out of LAN to client.
Problem client-side maybe?
Logged
Maurice
Hero Member
Posts: 1212
Karma: 158
Re: Lan has no internet
«
Reply #2 on:
December 26, 2023, 01:54:40 pm »
Quote from: wildfire48974 on December 24, 2023, 06:03:19 pm
I created rules to allow all the traffic in both directions on all the interfaces.
This is neither required nor recommended and might cause more problems than it solves, depending on how exactly you configured these rules. The default rules are perfectly fine for basic Internet access.
Do you have a public IPv4 address? Or RFC 1918 / 6598 (CGNAT)? Do these DNS servers have public IPv4 addresses?
Is this packet capture from opt3 only? Asking because there are packets with destination address 10.66.0.10, which should never appear on this interface.
And btw., a /16 for a LAN is generally not recommended.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
jesusdleguiza
Newbie
Posts: 7
Karma: 0
Re: Lan has no internet
«
Reply #3 on:
September 24, 2024, 04:06:50 am »
issue in 24.x version?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Lan has no internet