Michel Servaes wrote:
I have a pool of ip-adresses... the gateway is x.y.18.17, and the
ending is x.y.18.22
I have two servers, that use the same outgoing protocol and the first
is working fine, as I have setup a rule to use the default gateway
.18.17 on the WAN side.

But I want to setup the second server to go out on .18.20 for
instance... but setting up rules, will allow me only to choose
"default" or ".18.17" (mind you, that the "default" is a second
network card, used for backup)
I have added virtual ip's (.18.18, .18.19, .18.20, ...), but cannot
choose them for outgoing rules... I'm sure I'm missing something basic
here.

Kind regards,
Michel


1. Create a rule on LAN interface with source IP of your second server and x.y.18.17 as a gateway. Make sure this rule is above other rules for your LAN subnet with default gateway. 2. Go to Outbound NAT, switch to AON and create one rule: Interface=interface with x.y.18.17 gateway, Source=IP address of your second server, Destination=Any, NAT Address=OneOfYourVirtualIPs x.y.18.z. Make sure this rule goes above any other rules for Interface.

Should work. By the way Virtual IPs do not have to be CARP unless you have pfSense cluster with at least two boxes.

Evgeny.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to