Multi IP Public adress
-
hello pfsense experts, I turn to you to clear my mind.
I have a pfsense working with a public ip and a dhcp on my lan1 working correctly.I added a second NIC and I need all its traffic to go out through a second public IP.
I read several threads but more than solutions I end up going crazier.
What suggestion would you give me to find a solution?
Thank you!!!!
-
@matthramos
You have to assign the second IP to pfSense as IP alias, if you didn't that already.Then go to Firewall > NAT > Outbound, select hybrid mode and save this.
After that add a new rule with settings like this:
interface: WAN
protocol: any
source: <your new netwok>
destination: any
translation address: select the second WAN IP -
@viragomann Thanks for you fast reply,when you says add new rule, where did you create it? on the wan interface or second lan interface
-
@matthramos
No, I was talking about this section: Firewall > NAT > OutboundYou need an outbound NAT rule (masquerading) to translate source IP in packets from the concerned subnet into the desired public IP.
-
@viragomann ok thank you,
in source " my new network" does not appear this
-
@matthramos
No, the specific network isn't select-able. You have to take "network" and enter the network address and select the mask. -
@viragomann said in Multi IP Public adress:
No, la red específica no se puede seleccionar. Tienes que tomar "red" e ingresar la dirección de red y seleccionar la máscara.
thanks for you support and help, tomorrow i will test onsite this configuration,