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

    HELP ROUTE/NAT

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 1.7k 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
      jsbilbo
      last edited by

      Hello,

      I needo help, have just installed PFSENSE and in my computer I have 3 NICS:

      • LAN: 10.1.1.xxx
      • WAN: DHCP
      • OPT (WAN2): 192.168.2.2

      I have two ADSL and I want use one of them only for the navigation (port 80).

      I want that the whole traffic that this one directed the port 80 goes out for OPT (WAN2). In iptables the serious configuarción something like that:

      Iptables-t nat - to POSTROUTING - protocol tcp-s $LAN - destination-port 80-j SNAT - to-source 192.168.2.2

      You might say to me in PFSENSE since(as,like) I can put this configuration. I am raw and go trying(meaning) it several days and I do not obtain it.

      A greeting and thank you very much for everything.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Have a look at http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing . What you want to do is similiar, you just don't use pools (skip that part) but a gateway IP in your firewallrules.

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

          THANKS FOR HELP ME.

          ALL IS OK NOW.

          BYE!

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