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

Specify exit interface

Scheduled Pinned Locked Moved NAT
3 Posts 2 Posters 1.5k 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.
  • A
    artgug
    last edited by Oct 13, 2011, 6:05 PM

    I have a pfSense box set with two WAN interfaces.
    I have multiple public IP's and have one interface handling x.x.x.242 - x.x.x.244 and one interface handling x.x.x.245  both have the same gateway.

    What I want to do is have all SMTP traffic leave out the x.x.x.245 interface.

    I would assume that a simple LAN rule would do the job, but since both interfaces have the same gateway, I can't find a way to specify which interface it should exit.

    So I'm thinking that I should do this with outbound NAT, but I have tried several things, but none have actually worked.  Any ideas how this should be set up?

    Thanks,

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 13, 2011, 6:23 PM

      You don't need and cannot use two interfaces in that way.

      Just use multiple Virtual IPs on a single interface, and then you can NAT or do whatever you like.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • A
        artgug
        last edited by Oct 13, 2011, 9:08 PM

        Thanks!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received