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

[Openvpn-users] openvpn2 ifconfig pool


  • Subject: [Openvpn-users] openvpn2 ifconfig pool
  • From: "herwam herwam" <dedmoroz3000@xxxxxxxxxxx>
  • Date: Fri, 07 May 2004 10:40:42 +0200

Hi All,
Thank YOu James, for your answer,
I try changed the configuration according to your advice,but openvpn on the client side says only:
bad push pool message on the client side comes nothing and i cannot connect to the intenet.
my linux client configuration:
remote 192.168.1.1
port 5009
dev tap0
pull
ping 10
tun-mtu 1500
tun-mtu-extra 32
tls-client
ca my-ca.crt
cert test2.crt
key test2.key
verb 6
++++++++++
my linux server configuration:
local 192.168.1.1
port 5009
#new for 2
mode server
ifconfig-pool xxx.xxx.xxx.48 xxx.xxx.xxx.51
dev tap9
tls-server
dh /usr/ssl/openvpn/private/dh2048.pem
ca /usr/ssl/openvpn/certs/my-ca.crt
cert /usr/ssl/openvpn/certs/office.crt
key /usr/ssl/openvpn/private/office.key
persist-key
persist-tun
ping-timer-rem
ping-restart 60
ping 10
tun-mtu 1500
tun-mtu-extra 32
user nobody
group nobody
verb 5
++++++++
Thanks,
Ded



You don't have "pull" in the client config. It's required of a client which is pulling part of its configuration from the server.

Also, "ifconfig-pool" should not be used together with a DHCP server on the
OpenVPN server side. Use one or the other. In most cases, "ifconfig-pool"
and "push" on the server side will give you all of the functionality you would
want from DHCP, and the benefit is that it also works with tun interfaces as
well (DHCP requires tap).


James

herwam herwam <dedmoroz3000@xxxxxxxxxxx> said:

_________________________________________________________________
Wußten Sie, daß Sie Ihren Hotmail-Posteingang auch über den MSN Messenger abrufen können? http://www.msn.de/messenger Jetzt kostenlos downloaden und einfach testen!



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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00053.html on line 233

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-05/msg00053.html on line 233