Hi, On Mon, Jul 29, 2024 at 10:05:06AM +0400, Dmitry Melekhov wrote: > I have 192.168.22.229/24 on my lan interface, > > if I add > > redirect-gateway block-local > > then openvpn adds route > > 192.168.22.0 192.168.31.1 255.255.255.128 UG 0 0 0 tun0
There should be a second route for 192.168.22.128
> Could you tell me, why route is only for half of local net?
"more specific wins". If OpenVPN were to install a /24 route, it might
not work (because on most operating system a directly connected network
will have precedence over a static route with the same netmask).
2x 255.255.255.128 = 1x 255.255.255.0
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 [email protected]
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
