Ipsec behind nat configuration help.
I am pretty sure I am hitting a routing problem here, but I don't know how to proceed.
My situation is as follows:
network A is a pfsense router with network 192.168.100.0/24
network B is an openwrt router with network 18.104.22.168/24
I tried using openwrt's ipsec but it was way too buggy, so I put a pfsense computer at 22.214.171.124 and set the lan gateway so traffic could go out. It works and the tunnel is stablished, but I can't ping anything except the pfsense computer itself from network A. Network B can ping everything on the remote lan.
What am I missing? I used tcpdump and noticed ICMP packages hitting the openwrt router, there just is no answer back.
Well that was simple… Guess this is why I shoudn't configure networks at 1 in the morning. I just forgot to add a route on the openwrt router.
How can I close this topic?