What's new

How to setup site 2 site routing between Asus [strongswan] and OCI?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

evlo

Regular Contributor
I'm trying to setup VPN between my home Asus router using strongswan and oci

Ipsec does connect, but i can't ping my oci server from local network, or vice versa.

How to setup the route?

Oci status and route settings [1]
8w3BSbA.png

oci settings route policy based [i tried static and no help]
CiRKJPD.png


asus settings
977ocQo.png



asus actual (?) settings
eRdJ5uP.png


Maybe i could use BGP routing, but how do I make my asus router AS?

This is in the charon log
Code:
16[KNL] <oci-tunnel-1|1> installing route: 10.0.0.0/24 src 192.168.50.1 dev ipsec0
i suspect issue might be with the way i created tun device (openvpn --mktun --dev tun1) or still with my configuration for strongswan not using the tun device?

1656956876951.png

I have tried
Code:
ip route add 10.0.0.0/8 dev ipsec0
but still can't ping between oci and my home network
 
Last edited:
For now i gave up on asus with ipsec site to site

created oracle linux 8 server, put openvpn server onto it, set the server ip as static route to my network CIDR, connected asus router to the openvpn server.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top