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

    Cannot access internet for any VLANs

    Scheduled Pinned Locked Moved Firewalling
    2 Posts 2 Posters 1.5k Views
    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.
    • H Offline
      hacktivist
      last edited by

      Hi,

      I have a problem with my VLAN Network cannot connect to the internet.

      WAN Int: re0
      IP: 124.x.x.33
      Gateway: 124.x.x.34

      LAN Int: re1
      IP: 10.10.20.1

      vlan10 int: em0
      IP: 172.16.10.1
      GW: 124.x.x.34

      vlan20 iint: em0
      IP: 172.16.20.1
      GW: 124.x.x.34

      I have a static route

      Destination: 0.0.0.0
      Gateway: 124.x.x.34

      Then i have a fw rule for the VLAN10 as an example:

      Proto: *
      Source: VLAN10
      Port: *   
      Destination: *   
      Port: *   
      Gateway: *

      My LAN can access the internet all right. But all my vlans failed to reach the internet.

      Did I miss anything?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        You do not put the gateway on internal interfaces. And also the gateway would have to be within the subnet on the interface.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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