[Swan] Help!!

Antonios Katsouros akatsourossony at gmail.com
Wed Jan 9 16:56:27 UTC 2019


Dear all!!

newbie in list with a serious problem...

I installed Libreswan through a vpn script ( this one :
https://github.com/hwdsl2/s... !.. Please I need your help... When the vpn
is establised, I need to add a route on the server (manually currently) in
order to access the network inside.

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 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 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.

Please can somebody help???

Hundreds of thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20190109/45d4e009/attachment.html>


More information about the Swan mailing list