[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Multiple VPNs on one server


  • Subject: Re: [Openvpn-users] Multiple VPNs on one server
  • From: Paweł Stradomski <pstradomski@xxxxxxxxx>
  • Date: Fri, 18 May 2007 21:04:24 +0200

Polonkai Gergely wrote
> If I understand right what you are asking, there is a very simple
> solution for you (haven't tried it myself though):
>
> Install one openvpn server only. Use per-client configuration, and
> give the clients an IP address from different subnets. Like group1
> gets an IP from 10.1.0.0/24, group2 from 10.2.0.0/24 and so on. As you
> don't push routes to the clients about the different subnets, they
> will think they are the only one within the 10.0.0.0/8 network. Of
> course you should deny access to other subnets with iptables or such,
> as smart users may be able to set up routes for yourselves.

So client-to-client would be off and the client-script (for group1) would be 
like:

ifconfig-pool 10.1.0.0 10.1.0.255
push "route 10.1.0.0 255.255.255.0"



> I hope my english and my explanation is understandable, and maybe I
> could help.
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users