Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    1 LAN / 2 WAN, the best way to manage traffic

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 2.4k 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.
    • P Offline
      paccatore
      last edited by

      Hello everyone, sorry for the ignorance but pfSense is a new world for me …
      Let me explain in short what is my scenario and what is my goal.
      WAN1 (ADSL 7Mbit/512Kbit) this line is used by default for navigation, being the fastest in download
      WAN2 (2Mbit symmetrical HDSL) on this line are active 3 VPN, being the fastest in upload

      My main objective is:
      divert on WAN2 all the following traffic (obviously giving priority to VPN):
      FTP active and passive input and output
      SMTP, POP3 and IMAP

      The attempts I did not brought me anywhere, in fact FTP connections were timing out ...
      What rules should I create?

      1 Reply Last reply Reply Quote 0
      • D Offline
        deltalord
        last edited by

        First, please explain your previous attempts in detail. Second, what you are trying to achieve is doable, has been done many times even with more complex setups (Traffic Shaping with 4 WAN connections comes to mind rather than port based routing), but as I said we need more detail because we don't know what you did, thus don't know what you've potentially done wrong.

        1 Reply Last reply Reply Quote 0
        • P Offline
          paccatore
          last edited by

          Ok, see the attached file for the 2 LAN rules I've tried…
          I always receive timeout error with the put and get FTP commands.
          thank you very much for interesting!

          prove_pfsense.png
          prove_pfsense.png_thumb

          1 Reply Last reply Reply Quote 0
          • P Offline
            paccatore
            last edited by

            My intention is to release the FTP traffic on WAN2, not to leave the server on WAN2 regardless of the type of traffic.
            Alternatively, I also tried to get him to do the work direction, reversing the default gateway and routing Internet traffic on WAN1:

            WAN2 (default gateway)> FTP, SMTP
            WAN1> HTTP and HTTPS

            firewall rule on the LAN:

            Proto Source  Port Destination Port        Gateway  Queue  Schedule Description
            TCP  LAN net  *    *                443 80  WAN1GW  None                  Forward Internet traffic on WAN1

            but this rule has not had any effect, internet traffic continued to go out on defalut WAN2 gateway.
            Perhaps the reason lies in the services squid, squidguard and HAVP?

            1 Reply Last reply Reply Quote 0
            • D Offline
              deltalord
              last edited by

              @paccatore:

              Perhaps the reason lies in the services squid, squidguard and HAVP?

              Yes, squid has been an issue for me when working with VPN connections, so it could be too in your case. Turn squid off for a while and see what happens.

              Please read this thread because first it could teach you a lot and second answer many of your questions right away.

              Also, take a quick look here, but I have to say there is a more elegant way of achieving the goal, namely this one:

              1 Reply Last reply Reply Quote 0
              • P Offline
                paccatore
                last edited by

                In the meantime I tried to disable squid and squidguard services, but after 2 seconds they restart automatically.
                  ::)?? ::)??

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