Page 1 of 1

Using duplicate-cn for multiple connections

Posted: Sun Jan 15, 2023 9:46 pm
by hiker75
I am trying to set up my openvpn config to allow multiple connections from the same site to a VPN in another city. I am using the Netgear built in VPN functionality to download the config files. I have tried adding duplicate-cn, but get the error message in the logs:

Code: Select all

--duplicate-cn requires --mode server
My openvpn config file:

Code: Select all

client
dev tap
proto udp
remote xxx.xxx.xxx.xxx 12974

duplicate-cn

resolv-retry infinite
nobind
persist-key
persist-tun

ca ca.crt
cert rax-client.crt
key rax-client.key

cipher AES-128-CBC

comp-lzo

verb 5
Any help would be greatly appreciated. Just recently started using openvpn, so any other suggestions on my config would be awesome. Essentially, we need up to 4 - 5 computers to access the VPN at the same time.

Thanks! :)