VPN site to site but with wrong static routes IPs

Started by mmaridev, January 14, 2021, 10:29:27 PM

Previous topic - Next topic
Dear all,

I just configured a site to site OpenVPN between two OPNSense. The two can connect and ping each other BUT the static routes are not generated correctly.
In fact, host 1 has ip 192.168.168.1 and host 2 has ip 192.168.168.2. The tunnel has network 192.168.168.0/29.
The static routes generated and visibile from the web gui though are wrong: it reports the remote network respectivley with gateway 192.168.168.6 (on host 1) and 192.168.168.5) on host 2. Why is this happening? Is a my own misconfiguration?

Thanks in advance