Virtual IP to Outgoing Address
-
Client Lan: 192.168.2.0/24
Server Lan: 192.168.1.0/24
pfSense Server: 192.168.1.121
WAN1 Lan: 1.1.1.1/29
WAN2 Lan: 2.2.2.2/27I want to redirect some traffic to Outgoing Address: 195.78.228.226 to port 443
Its possible to use an virtual ip address (192.168.1.125) inside pfSense to redirect that traffic :
192.168.2.4 <-> 192.168.1.125:443 <-> 195.78.228.226:443
or i need to use the pfSense ip?
192.168.2.4 <-> 192.168.1.121:8443 <-> 195.78.228.226:443 -
It's possible to use virtual IPs for forwarding, but it's not possible to assign 192.168.1.125 to the client LAN, since that IP is out of the server LANs network.
However, you don't need to assign a virtual IP for what you intent if pfSense is the default gateway in the client LAN.If so, just add a NAT port forwarding rule to the client LAN for
dest: 192.168.1.125:443
target: 195.78.228.226:443
and it will do the job.