I was configuring an IPSec VPN and somehow I can't figure out what the inner/outer IP of my gateway would be.
If I have a client behind the VPN, say with IP 172.16.0.1, I know the Inner IP would be 172.16.0.1 and the outer IP would be 192.168.0.1, which would then get NAT'd.
But what if it was my IPSec gateway trying to send a packet to a host behind the other IPSec gateway ? What would be the inner/outer IP ? Would it be twice the same IP, i.e. 192.168.0.1 in inner, and 192.168.0.1 in outer ?