Hi,

On Fri, Apr 30, 2021 at 09:15:07PM +0000, tincantech via Openvpn-users wrote:
> Ref: https://forums.openvpn.net/viewtopic.php?f=6&t=32193#p99021
> 
> (This also applies to --http-proxy)
> 
> The question is, how/what does openvpn do in the case that the client
> is connecting via a proxy server when using --redirect-gateway def1 ?
> 
> From man openvpn (8):
> 
> (1) Create a static route for the --remote address which forwards to the 
> pre-existing default gateway.
> 
> But if the proxy is non-local then --redirect-gateway will break connectivity.
> Obviously, I am missing some key information here but the manual has nothing
> either and I have dug deep enough already.
> 
> (I would test this myself but .. well, what are mailing lists for ? )

I would expect this to do the same thing it would do for the "non proxy"
case - install a host route to the existing default gateway so packets
to the server (and with proxy, to the proxy) can still flow.  Then,
change the default route into the tunnel.

Of course there might be bugs - so you'll end up having to test this.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

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

Reply via email to