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

    Assign p2p trafic to WAN1

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 2 Posters 2.6k 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.
    • K
      KyleXY
      last edited by

      Hi , im n00b to pfsense, i have 2 WANs .first wan's speed is 8Mbps and the second wan's speed is 512Kbps , i want to make that all p2p trafic to go through the WAN1, the 8Mbps one , and all other trafic like web browsing mail to go through the second wan.These 2 lines are from different ISPs , i have set them up,failover and loadbalance is running,both links are up.

      WAN1(8Mbps)–-------|
                                    |---Pfsense-----LAN
      WAN2(512Kbps)------

      Please help me

      Thank You

      P.s.sorry for my english

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

        Set your p2p program to use port 27777
        Then nat that port to your pc 192.168.1.222
        make a lan rule with 192.168.1.222 using gateway wan1

        I need to correct myself :) cause i use a dedicated ubuntu pc for p2p
        So if you have 1 pc doing the p2p you can control the traffic to that one.

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • K
          KyleXY
          last edited by

          Thank You ,
          i have 2 pc that will use p2p, i want both of them to use wan1 when downloading torrents
          here is what im going to do:

          Firewall->nat->port Forward

          Interface –--------WAN1
          External Adress-----ANY
          Protocol-----------TCP
          External port range-???? need help here :P
          NAT IP------------- <my pc="" ip="">Local port----------27777

          Then LAN rule:
          Interface      LAN
          Protocol        TCP
          Source          Network
                            <my pc="" ip="">/24
          Destination    any
          Destination port range  any
          Gateway  Wan1Fails.ToWan2

          is this correct?

          thx</my></my>

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

            External port is also 27777 for 2nd pc it could be 28888
            set your protocol on the lan rule to any

            /Perry
            doc.pfsense.org

            1 Reply Last reply Reply Quote 0
            • K
              KyleXY
              last edited by

              Thank you for your help , i set it up , it worked for a while , then , when i changed the port in utorrent , it went like it should through the WAN2 (512kbps) , and when i changed in utorrent the port back it wont go throught WAN1 it continues to go throught WAN2  :( what is wrong with it? the main lan rule that is allowing everything is assigned to go through gateway WAN2 , and the rule with port 27777 to go through gateway WAN1, still the conections on 27777 go to WAN2…. :(

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

                Diagnostics -> States  reset states

                /Perry
                doc.pfsense.org

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