Antonios, You can add this parameter in your side: leftsubnet=192.168.0.0/24,192.168.1.0/24
You need to check the subnets on both sides. Atenciosamente, ----- Eduardo Oliveira Gerente de Infraestrutura em TI Departamento de Desenvolvimento e Marketing - Infraestrutura gerencianet.com.br<https://gerencianet.com.br/> | 1ª Região - Brasil Atendimento a clientes: 4000 1234 para capitais e regiões metropolitanas e 0800 941 2343 para demais cidades. Expediente: 2ª a 6ª feira, das 08h às 18h. Horário de Brasília, exceto feriados nacionais. [https://gerencianet.com.br/wp-content/uploads/2018/06/gerencianet.png] The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. ________________________________ De: Swan <[email protected]> em nome de Antonios Katsouros <[email protected]> Enviado: Thursday, January 10, 2019 4:27:13 AM Para: [email protected] Assunto: Re: [Swan] Help!! Dear All, can please somebody help???? Please... your help is higlhy appreciated. many thanks On Wed, Jan 9, 2019 at 7:56 PM Antonios Katsouros <[email protected]<mailto:[email protected]>> wrote: 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<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. Please can somebody help??? Hundreds of thanks in advance
_______________________________________________ Swan mailing list [email protected] https://lists.libreswan.org/mailman/listinfo/swan
