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

[Openvpn-users] One ip address per client


  • Subject: [Openvpn-users] One ip address per client
  • From: lars@xxxxxxxxxx (Lars Gullik Bjønnes)
  • Date: Tue, 18 Jan 2005 14:48:44 +0100
  • Cancel-lock: sha1:1Q8T3Uo+eI9e7TK5n8S2j+cQS1E=


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 


same ip used on all tun interfaces, static route to client.

Or would this be a Unix (Linux) only feature?

This way it coule be easy just to set 172.16.0.1/24 as the ip on the
tun interfaces and just pick the next avaliable ip from the net when
clients connect.

-- 
	Lgb


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users