I have two pfenses (say p1 and p2) in two separate networks. Each has a public IP. There is an internal network on each side (say n1 and n2). I want to connect these two networks through these two pfsenses:
p1:184.108.40.206 n1:10.10.10.0/24 p2:220.127.116.11 n2:172.16.1.0/24
I want to send traffic from n1 to n2. for example I want to send traffic from 10.10.10.30 to 172.16.1.40. I want a solution like linux ip route. in this example traffic should go from 10.10.10.30 to 18.104.22.168 and from 22.214.171.124 to 126.96.36.199 and finally from 188.8.131.52 to 172.16.1.40. there is a access from pf1 to pf2 with a cable on extra NIC (say optx) how can I do that?