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

Re: [Openvpn-users] One ip address per client


  • Subject: Re: [Openvpn-users] One ip address per client
  • From: Mathias Sundman <mathias@xxxxxxxxxx>
  • Date: Wed, 19 Jan 2005 12:43:46 +0100 (CET)

On Tue, 18 Jan 2005, Lars Gullik Bjønnes wrote:


[This is a repost, but I never saw my message on the list. Sorry if duplicate.]


Is it possible to have OpenVpn use only one ip per client instead of four as it is now?

I see that VTun sets up things like this:

133: tun0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1450 qdisc pfifo_fast qlen 10
   link/ppp
   inet 172.16.31.1 peer 172.16.31.6/32 scope global tun0
134: tun1: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1450 qdisc pfifo_fast qlen 10
   link/ppp
   inet 172.16.31.1 peer 172.16.31.4/32 scope global tun1

ip rou sh
172.16.31.6 dev tun0  proto kernel  scope link  src 172.16.31.1
172.16.31.4 dev tun1  proto kernel  scope link  src 172.16.31.1

Have a look at the --ifconfig-pool-linear option. Keep in mind that you loose Windows compatibility if you enable this though. Search the list archive for this option for discussions about this.


--
_____________________________________________________________
Mathias Sundman                  (^)   ASCII Ribbon Campaign
OpenVPN GUI for Windows           X    NO HTML/RTF in e-mail
http://www.nilings.se/openvpn    / \   NO Word docs in e-mail