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:
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 126.96.36.199 and from 188.8.131.52 to 184.108.40.206 and finally from 220.127.116.11 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?