Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Looking to find some way to set up multiple VPNs under a single OpenVPN Server, where external clients can only connect to other devices in the same network/group.

Open VPN Server (host)
    VPN Group 1 (10.0.10.x)
        -> Andy
        -> Bob
        -> Chloe
    VPN Group 2 (10.0.11.x)
        -> Dave
        -> Emma
    VPN Group 3 (...)

So in this example, Andy/Bob/Chloe are on one private network and can connect to each other, but cannot connect to Dave/Emma. In the same way, Dave/Emma can connect to each other, but not Andy/Bob/Chloe.

Is this possible? I couldn't find any examples in the OpenVPN docs...

share|improve this question
    
Which system/distribution are you using? –  Matthew Williams May 1 at 11:35
    
Ubuntu Server 12.04 –  steve May 3 at 6:02

1 Answer 1

There's no problem at all. You can launch several server instances using different port and daemon name config options

share|improve this answer
    
Could you provide a bit more detail to this answer. How would the OP go about achieving what you suggested? Thanks. –  Matthew Williams May 1 at 11:04
    
It depends on the system and/or distribution he's using. In Debian the init script tries to launch every .conf file it finds in the /etc/openvpn directory while Gentoo uses soft links matching with them. Every .conf should have a different "daemon this.vpn.name" and a unique "port" –  netizen May 1 at 11:17
    
You can post a comment to request clarification on the OP system specification allowing you to give a more specific answer. I have posted a comment to the OP asking for this information. –  Matthew Williams May 1 at 11:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.