Only allow 1 client connected by ccd

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
jamyz
OpenVpn Newbie
Posts: 18
Joined: Thu May 14, 2015 7:26 am

Only allow 1 client connected by ccd

Post by jamyz » Tue Jul 16, 2019 5:48 am

HI!
I wanted only one client per ccd user to connect. Is possible ? How to do it ? Thank you.

This is my current server config

Code: Select all

client
dev tun
proto udp
remote my.domain.com 1194
float
cipher AES-256-CBC
comp-lzo yes
keepalive 15 60
auth-user-pass
remote-cert-tls server
client-config-dir /jffs/configs/openvpn/ccd
push "route 192.168.0.0 255.255.255.0"
push "route 192.168.2.0 255.255.255.0"
route 192.168.0.0 255.255.255.0
route 192.168.2.0 255.255.255.0
route 10.8.10.0 255.255.255.0
client-to-client
topology subnet

<ca>
-----BEGIN CERTIFICATE-----
MII..............................KQk/us=
-----END CERTIFICATE-----
</ca>
resolv-retry infinite
nobind

Post Reply