Hey Guys,
I was wondering how I'm able to limit concurrent connections from certain clients.
For example:
I have client A & client B.
Client A has a phone and a computer while client B has a tablet a phone and a computer.
I want client A to be able to connect to his phone ONLY at one point in time. When he disconnects from his phone he can connect with his computer. While I want client B to be able to use his account on all 3 devices at once while client A can only use his connection one at a time.
I'm fairly sure this is called concurrent connections, I want client A to have 1 concurrent connection while I want client B to have 3 etc. etc. so on. Is this possible with OpenVPN? Thanks.
Limit Concurrent Connections
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: Limit Concurrent Connections
Using openvpn only you could do this:
- Server config do not use --duplicate-cn:
- Client A:
- Has only one cert/key pair used on both devices. 1x cert/key on 2x devices
The server will allow only one connection at a time from this client.
- Has only one cert/key pair used on both devices. 1x cert/key on 2x devices
- Client B:
- Has a unique cert/key pair per device. 3x certs/keys on 3x devices
The server will allow all three devices to connect at the same time
- Has a unique cert/key pair per device. 3x certs/keys on 3x devices
- Client A: