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

    2 WAN, torrents on WAN1, everything else on WAN2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 4 Posters 4.1k 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.
    • M
      Metu69salemi
      last edited by

      Maybe some L7 rules might help on this, but what kind of rules you need for identifieng torrent traffic i dont know.

      1 Reply Last reply Reply Quote 0
      • P
        Perry
        last edited by

        Create an port alias with ports you want to go out on wan2 like 80, 443, 22 etc.
        Then create a rule before the default with this alias as destination and wan2 gateway.
        Then change the default lan rule to use wan1 gateway.

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • M
          Mirddes
          last edited by

          have set wan1 to default gateway
          set alias to ports 80, 443,
          created rule with alias as destination and WAN2 as gateway on WAN1 AND WAN2 but not LAN.

          not entirely sure why it isnt working

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

            can you give screenshots

            1 Reply Last reply Reply Quote 0
            • M
              Mirddes
              last edited by

              http://bayimg.com/kajiaaADe
              http://bayimg.com/JaJIpAAdE

              1 Reply Last reply Reply Quote 0
              • P
                Perry
                last edited by

                That rule needs to be on LAN and then http://www.pfsense.org/ip.php will show that your http traffic are going out on WAN2

                /Perry
                doc.pfsense.org

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

                  Perry already supplied answer, please inform if you need more assistance.
                  Just keep in mind that pfsense works on ingress, so if you like to tell that lan has access to somewhere, create that rule on lan

                  1 Reply Last reply Reply Quote 0
                  • P
                    peavers
                    last edited by

                    I am trying to do the exact same thing except I only want FTP traffic going out WAN2.

                    I'm not really sure I understand what Perry means, I created the same rule on my LAN tab of the firewall setup but I don't see how that could work?

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

                      Create rule with following info:
                      proto: tcp
                      source: desired subnet
                      source int: lan(or where you want that traffic to go out)
                      destination: usually any
                      destination port: ftp
                      advanced features: gateway: choose what you want to use

                      Make sure that this rule is above default rule

                      1 Reply Last reply Reply Quote 0
                      • P
                        peavers
                        last edited by

                        Thanks for the reply,

                        Have tried that but all traffic is still going out WAN1

                        What subnet would I normally put under source? I have a whole range of type options
                        WAN
                        LAN
                        WAN2
                        etc

                        Likewise for the gateway, would I have tried both the WAN2GW (192.168.20.20) and the GW_OP1 (External IP)

                        Neither seem to work?

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

                          that subnet from where you want to ftp trafic to go out, usually lan.
                          but if you have like opt3 from where you want to trafic to go out then you should change the rule to opt3 interface and any other concerning things also

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