On Tue, Nov 16, 2021 at 3:16 PM mike tancsa <m...@sentex.net> wrote:

> Hi all,
>
>      I have a number of vpn endpoints where I push a set of routes
> through the server's config. I now need to make an exception for one
> such client.  As its in the field, I have no easy way of changing the
> remote config.  Is there a way where I can cancel a route push through
> the ccd file  ? e.g. in the server conf file I have
>
> push "route 192.168.68.0 255.255.255.0"
>
> I want to exclude that push for one site. Is there a way to "un push"
> that route in the ccd file ?
>
> The other option I found was that I can use push-reset.  However, after
> the client initially connects and everything works, the server which has
> "keepalive 5 30", thinks the connection has failed and it times out
> because I guess the client no longer sends keep alives
>
>   [x509testcert] Inactivity timeout (--ping-restart), restarting
>
> and the client never reconnects on its own :(
>
> I tried adding
>
> push-reset
> push "keepalive 5 30"
>
> to the ccd file, but that doesnt seem to work.  Any ideas ?
>

"keepalive 5 30"  on server leads to

push "ping 5"
push "ping-restart 30"

So try adding those two lines after push-reset:

Selva
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to