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

    All trafic from a machine over one interface

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 1.8k 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.
    • E
      EkkO
      last edited by

      Hey

      I have a multiwan setup with 5 interfaces. My question is how can i lock my server (192.168.1.13) to only one interface called WAN5OPT4 (213.XXX.XXX.XXX)?
      I tried to setup a rule in Pfsense under Rules -> LAN but with no success.  My current rule in attachment..
      rou.jpg
      rou.jpg_thumb

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

        I had to do this with Manual NAT and a rule in the Outbound tab. I think if you leave it on Automatic NAT you'd have to do a Static Route of some sort. I could be wrong though.

        1 Reply Last reply Reply Quote 0
        • E
          EkkO
          last edited by

          @Jahntassa:

          I had to do this with Manual NAT and a rule in the Outbound tab. I think if you leave it on Automatic NAT you'd have to do a Static Route of some sort. I could be wrong though.

          Problem solved, I did this

          Firewall -> NAT -> Outbound -> mark Automatic outbound NAT rule generation
          Then go to Firewall -> Rules -> Lan and create a rule like this:

          proto: tcp/udp
          source: 192.168.1.13 (Local IP to the machine)
          port: *
          destination: *
          port: *
          gateway: WAN5OPT4 (Interface)

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