Hi, On Wed, Aug 16, 2023 at 10:23:40AM +0000, Jason Long wrote: > enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255 > > So, what is the right IP for the following statement? > > route 192.168.1.0 255.255.255.0
What do you want to *achieve* here? "route" statements in OpenVPN config
tell OpenVPN "please route this *into the VPN*".
On the *Server*, if this is a local NIC, you do not want this "into the VPN".
> And about your second note, I must change the "/etc/openvpn/ccd/Test-PC" to
> the CN in the client certificate. I opened the ca.crt file on the client and
> clicked on the Details tab and it showed me "CN = Server". So, I must change
> the "Test-PC" to "Server". Am I right?
If that is the CN of the cert the client uses, yes. But *read the server
logs* (with verb 4). It will tell you.
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
