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

    Inter VLAN routing and single gateway?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    14 Posts 4 Posters 4.3k 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
      heper
      last edited by

      use policy routing to specify a gateway in the default any TO any firewall rule

      inter-vlan routing will stop to function, only out to internet will work

      1 Reply Last reply Reply Quote 0
      • S Offline
        Supermule Banned
        last edited by

        Walk me through it….

        I have tried that (running 1.2.3), but to no avail.

        1 Reply Last reply Reply Quote 0
        • H Offline
          heper
          last edited by

          no clue bout 1.2.3, have no more remaining systems running it. It's fairly easy on 2.x

          in 2.x when ya edit the default lan rule, theres a section to specify a gateway other then 'default'.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Supermule Banned
            last edited by

            BUMP :)

            1 Reply Last reply Reply Quote 0
            • C Offline
              cmb
              last edited by

              How do you have multiple VLANs with only one LAN? Guessing they're bridged together then, or else multiple WANs on VLANs. In general, you do what you're looking to do with firewall rules.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Supermule Banned
                last edited by

                I have attached some images….

                The setup is like this...

                LAN Setup

                VLAN Setup

                LAN Rule

                VLAN Rule

                The problem is that all of the VLANS can interact. I only want the traffic directed from the VLAN to the internet and no more.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Metu69salemi
                  last edited by

                  Your LAN subnet is way overlapping vlan subnets and you need firewall rule to block RFC1918 networks(inside ip-subnets)

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Supermule Banned
                    last edited by

                    I must be missing something….

                    To have 10.1.x.x subnets working, then one must run LAN on 10.1.x.x/16 subnet....

                    And I can only block RFC1918 networks on WAN. Not on LAN....I have searched the ruleset for this to no avail...

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Metu69salemi
                      last edited by

                      does this help

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Supermule Banned
                        last edited by

                        Have a look into it :)

                        Thx so far!

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Supermule Banned
                          last edited by

                          Working!

                          Thanks a lot!

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            Metu69salemi
                            last edited by

                            edit your first post subject field with [SOLVED]

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              Supermule Banned
                              last edited by

                              Will do!

                              :)

                              @Metu69salemi:

                              edit your first post subject field with [SOLVED]

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