Bruno de Paula Larini
bruno.larini at riosoft.com.br
Wed Jan 9 17:14:54 UTC 2019
Em 09/01/2019 14:56, Antonios Katsouros escreveu:
> My connection seems not that stable so every time the vpn falls and
> reconnects, the route is lost from the server. So I have to go again
> to server and add the route ( route add -net 192.168.61.0/24
> <http://192.168.61.0/24> gw 10.50.20.2 ). Is there a way I can do this
> automatically??? So when the VPN is down and reconnects, after
> reconnection, the server runs automatically this route on its self (
> route add -net 192.168.61.0/24 <http://192.168.61.0/24> gw 10.50.20.2 ) .
> 10.50.20.1 is the server, 10.50.20.2 is the other side (client) which
> also is on the rest network behind.
I had a similar issue some months ago. You can add the "leftsourceip"
parameter to the config so the server will know the way to the other
side of the tunnel. Example: leftsourceip=10.50.20.1
Then you can stop adding the route manually.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Swan