Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    No route to internet from second lan

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 368 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      cyborg50
      last edited by

      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?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Online
        Gertjan @cyborg50
        last edited by

        @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 :

        93279f31-7d7d-463b-9532-c8b7340402f3-image.png

        @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 966e2873-5d13-4e32-a930-27fca631cb65-image.png
        (OpenVPN in my case, but the rules would be the same )

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          cyborg50 @Gertjan
          last edited by cyborg50

          @Gertjan said in No route to internet from second lan:

          LAN ? OPT1 ? Both ?

          Yes.

          This is my opt2 setup:
          opt2.jpg

          How did you set it up ?
          firewall rule:

          fire.jpg

          EDIT:
          The problem was NAT related, i was on : Manual Outbound NAT rule generation and I didn't add rules.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.