IPSEC with snat
ntiesto last edited by
Hi. I have an iptables with ipsec client and it's ok. I want to change iptables with pfsense. I have this settings for ipsec:
my lan 10.4.17.0/24
ipsec site: local 220.127.116.11/24, remote 10.173.0.0/21.
In iptables i have this rule of snat for change my local ip 10.4.17.103 in 18.104.22.168:
-A POSTROUTING -s 10.0.3.103 -d 10.173.0.0/21 -j SNAT --to-source 22.214.171.124
-A POSTROUTING -s 126.96.36.199/24 -o eth1 -m policy --dir out --pol ipsec -j ACCEPT.
How can i make this settings in pfsense?