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

    Setup server to use specific IP (outbound)

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 1 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.
    • S
      starshooter10
      last edited by

      I have a /29 block and would like to assign multiple servers to go out on the same IP, but not the gateway IP

      Heck, I can even seem to figure out how to do it with a single server on one IP.

      Any idea on how to do this without a 1:1 nat (that I have not be able to get to work outgoing)

      Thanks,
      -Shooter

      1 Reply Last reply Reply Quote 0
      • S
        starshooter10
        last edited by

        any suggestions?

        1 Reply Last reply Reply Quote 0
        • S
          starshooter10
          last edited by

          Big Thanks to MIQ in the IRC channel!!

          here is how to do it for any future searches:

          Pf sense >firewall>virtual IPs
          add a new rule:
          type ip alias,
          wan interface
          type network
          (IP address/subnet mask)
          save and apply

          Pf Sense >firewall>nat
          outbound tab, save in manual mode then add a new rule:
          leave do not nat unchecked.
          interface wan
          select protocols
          source (your internal server)
          destination any
          translation choose your alias
          save and apply.

          move rule up or down in the outbound mappings.

          If all goes well then that box should go out on the IP specified in your alias

          good luck

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