Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» CARP/VIPs» Virtual Gateway
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Virtual Gateway  (Read 1624 times)
0 Members and 1 Guest are viewing this topic.
zinder
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: December 14, 2010, 04:43:35 pm »

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
Logged
jimp
Administrator
Hero Member
*****
Online Online

Posts: 12825



View Profile
« Reply #1 on: December 15, 2010, 11: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.
Logged

Need help fast? Commercial Support!

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

Do not PM for help!

Donate to the project | My Wish List
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 1.244 seconds with 19 queries.