|
|
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: > Ha All, > I configura openvpn 2 with ifconfig pool for 3 ip. > I have a problem with debian client. To mashine communicate but i did not > get the ip from server. > My client configuration is: > remote 192.168.1.1 > port 5009 > dev tap0 > ping 10 > tun-mtu 1500 > tun-mtu-extra 32 > tls-client > ca my-ca.crt > cert test2.crt > key test2.key > verb 6 > and startup script: > > #!/bin/sh > > /sbin/modprobe tun > /sbin/modprobe bridge > ifconfig eth0 down > ifconfig tap0 down > > /usr/sbin/openvpn --mktun --dev tap0 > > /usr/sbin/brctl addbr br0 > /usr/sbin/brctl addif br0 tap0 > /usr/sbin/brctl addif br0 eth0 > > /sbin/ifconfig tap0 0.0.0.0 promisc up > /sbin/ifconfig eth0 0.0.0.0 promisc up > > ifconfig br0 192.168.1.2 netmask 255.255.0.0 broadcast 192.168.255.255 > > Can somewohne help me, > THe same problem i have with 1.6 and the dhcp server on the server mashine. > > Thanks, > herwam > > _________________________________________________________________ > Die ultimative Fan-Seite für den MSN Messenger http://www.ilovemessenger.de > Emoticons und Hintergründe kostenlos downloaden! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > -- ____________________________________________ 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/msg00007.html on line 253 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/msg00007.html on line 253 |