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

    Virtual Gateway

    HA/CARP/VIPs
    2
    2
    4.8k
    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.
    • Z
      zinder
      last edited by

      Hi,

      pfsense 1.2.3

      I have two LANs (two NICs) and one WAN (IP=xxx.xxx.xxx.18). My ISP has provided me an extra public IP address (xxx.xxx.xxx.20). I can set up a virtual IP for .20 and port forward to the appropriate server. Is there a way to set up a virtual IP (.20) as a gateway? I want LAN 1 to use the normal WAN gateway (.18) and LAN 2 to use a virtual gateway (.20)? I want all LAN 2 traffic to look like it comes from the virtual IP (.20) and port forward that virtual IP (.20) to LAN 2 servers.

      Thanks

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That isn't a gateway in the traditional sense.

        What you want is manual outbound NAT. Firewall > NAT, Outbound tab. Switch to manual, and then edit rule for LAN2, and choose the .20 IP for the translation address.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.