|
From: Jochen B. <Joc...@bi...> - 2023-07-31 11:29:45
|
On 30.07.23 21:55, Jason Long wrote: > I added the following lines to the server configuration file: > route 172.20.1.0 255.255.0.0 > push "route 172.20.1.0 255.255.0.0" > > And added the following line to the client.ovpn file: > route add 172.20.1.0 255.255.0.0 So you're telling the server to *itself* route that destination into the VPN connection, and you're telling the client - twice - to also route it into the VPN. The poor packets are in Hotel California now. > When I connected to the OpenVPN server, then I got the following message: > route addition failed using service: The parameter is incorrect. Well, yes, "172.20.1.0" has a nonzero bit outside the mask "255.255.0.0"'s nonzero bits, hence it's not a proper network identification. I'd guess that you wanted the mask to be "255.255.255.0". Kind regards, -- Jochen Bern Systemingenieur Binect GmbH |