Netgate SG-1000 microFirewall

Author Topic: Virtual Gateway  (Read 4077 times)

0 Members and 1 Guest are viewing this topic.

Offline zinder

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Virtual Gateway
« on: December 14, 2010, 03:43:35 pm »

pfsense 1.2.3

I have two LANs (two NICs) and one WAN ( My ISP has provided me an extra public IP address ( 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.


Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21760
  • Karma: +1503/-26
    • View Profile
Re: Virtual Gateway
« Reply #1 on: December 15, 2010, 10:34:48 am »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!