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

    DUAL WAN - vlan problem

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 2 Posters 1.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.
    • J
      jacquesh
      last edited by

      I have an pfsense box connected to two different ISP. I created an routing group and configured wan1 as tier 1 and wan2 as tier2.

      I configured the default lan firewall rule to use the routing group and wan fail over is working fine.

      sinds i changed the lan default firewall rule to use the routing groep the devices in different vlan's cannot connect the devices in the different vlan's. Only the devices in their own vlan.

      can you help me with this?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Put a rule above your forced gateway rule that allows access to your vlan(s).

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • J
          jacquesh
          last edited by

          alt text

          like this?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            yeah as long as you only want tcp and there is nothing above that blocking it sure that would work. Normally I use the source network vs any... But yeah that would do it.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              jacquesh
              last edited by

              when i change the gateway from default to the failover routing group i cannot ping from the lan network to the vlan43 network. also not with the rule i just applied.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                well no your not going to ping with that rule - like I already stated if you only want to allow tcp, then that rule will work - ping would be icmp ;)

                if you want to ping, then allow icmp in another rule - or change that rule that allows access to vlan to allow any protocol

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • J
                  jacquesh
                  last edited by

                  omg, that I have not seen that.
                  i changed it and indead adding this rule solves it. i only do not understand why i have to add this rule. why is the default rule not covering this?

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by johnpoz

                    Because your forcing traffic out your wan.. Your wan doesn't get you to your vlan only out your wan. When you force gateways like that, or a groupwan, etc. Then you have to allow a rule that lets the normal routing of the router work.

                    Rules are evaluated top down, first rule to trigger wins, no other rule are evaluated.

                    https://www.netgate.com/docs/pfsense/routing/bypassing-policy-routing.html

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • J
                      jacquesh
                      last edited by

                      what is the difference than when default gateway is connected? and is there an other way to make fail over working?

                      anyway great thx for helping me out!

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        Using failover, you do have to call out the group in the firewall rule. So yes if you want to allow traffic to your local vlans and not go out the specific gateway this is how its done.

                        Its gone over here
                        https://www.netgate.com/docs/pfsense/routing/multi-wan.html

                        And in the book with more detail - everyone now has access to the book... I would suggest you take a look ;)
                        https://www.netgate.com/docs/pfsense/book/multiwan/index.html

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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