No route to internet from second lan
-
Hi.
I'm lost.
my setup has 2 lans
192.168.0.0/24 - lan
192.168.2.0/24 -opt2
Got ip, gateway, dns from dhcp, can ping other subnet.
I added a firewall rule in the opt 2 tab, but I can't reach internet from opt2
It was working before but i I changed the card for opt 2 from wifi to lan.
in addition, the default gateway is not working for some time. that is, if the default gateway is used in the rule, it doesn't work, I have to point to a specific gateway like WAN_PPP.Any idea?
-
@cyborg50 said in No route to internet from second lan:
Got ip, gateway, dns from dhcp, can ping other subnet.
LAN ? OPT1 ? Both ?
@cyborg50 said in No route to internet from second lan:
I added a firewall rule in the opt 2 tab, but I can't reach internet from opt2
How did you set it up ?
Like :
@cyborg50 said in No route to internet from second lan:
in addition, the default gateway is not working for some time. that is, if the default gateway is used in the rule, it doesn't work, I have to point to a specific gateway like WAN_PPP.
Check your default LAN setup : no gateway is set.
The same thing goes for other 'LAN type' interfaces like OPT1.What are the firewall rules on OPT1 ?
The same as LAN => you're ok.Make it look like
(OpenVPN in my case, but the rules would be the same ) -
@Gertjan said in No route to internet from second lan:
LAN ? OPT1 ? Both ?
Yes.
This is my opt2 setup:
How did you set it up ?
firewall rule:EDIT:
The problem was NAT related, i was on : Manual Outbound NAT rule generation and I didn't add rules.