Using duplicate-cn for multiple connections

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
hiker75
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 15, 2023 9:37 pm

Using duplicate-cn for multiple connections

Post by hiker75 » Sun Jan 15, 2023 9:46 pm

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! :)

Post Reply