TinCanTech wrote
duckie wrote
It would be nice if the client side can have a setting to automatically update the server with its subnet routes on connecting instead of the server having to put the route in manually on the server side
That is simply not how openvpn works.
On top of the routes there also needs to be --iroute
This is why I put in the wishlist. If OpenVPN doesn't work like this then why is there an "Allow client to act as VPN gateway
for these client-side subnets:" in the user configuration? So why not put another option "Allow the client to update its subnet to the server on connet to act as VPN gateway for these client-side-subnets" so you don't have to do it manually every time the internal subnet changes?
Furthermore. This is a common Site-to-Site VPN function with most site to site plattforms. If OpenVPN claims to have a Site-to-Site functionality then this wouldn't seem too far outside of the scope of purpose.
I guess I can write a post-connect script to connect to the server after connection and add the routes manually to the server but this just seems to be a mess to do.
Thanks for replying..