Multiple separated networks by user

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
PeterGriffin
OpenVpn Newbie
Posts: 1
Joined: Wed Feb 08, 2017 1:39 pm

Multiple separated networks by user

Post by PeterGriffin » Wed Feb 08, 2017 2:01 pm

I tried to find a manual for what I want to do with openVPN but I didn't find the right keywords.

What do I have:
1. One public openVPN Server running on Port 80
2. multiple devices (remote access) with the same IP e.g. 192.168.1.22 - customer
3. the devices are connected by a LTE router to the internet which is able to use openVPN
3. one or more service worker(s) with windows PC

Use Case:
1. LTE router (customer1) connects to openVPN Server "network0"
2. service worker connects to openVPN Server "network0"
3. service worker is doing maintenance on customer device in "network0"
-> that is not a problem but.
4. LTE router (customer2) connects to openVPN Server "network1"
5. another service worker is doing maintenance on customer device in "network1"
"Network0" and "Network1" should be completely separated from each other. This two networks use the same IP-Addresses e.g. 192.168.1.22

My questions:
Can I have multiple vpn networks (separated) with one instance of openVPN?
Is it possible to add a client to a network depending on the user (user name)?
I think of something like hamachi, where only the clients can communicate with each other depending on the channel (network) they use.

Thanks

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Multiple separated networks by user

Post by TinCanTech » Wed Feb 08, 2017 9:58 pm

PeterGriffin wrote:Can I have multiple vpn networks (separated) with one instance of openVPN?
--topology net30 means all clients have their own network .. :twisted:

See --topology in The Manual v24x

Post Reply