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

[Openvpn-users] Vpn connection problem


  • Subject: [Openvpn-users] Vpn connection problem
  • From: "Franck Y " <franck110@xxxxxxxxx>
  • Date: Mon, 1 May 2006 03:55:48 -0400

Hello everyone,
Thanks in advance for helping me with my problem.
The server is a Linux FC4 and all client are Win2000 and Xp
I have a network like this
ISP-----ROUTER (192168.0.72)-----LOCAL PC(192.168.0.XX)
I want do give acces to the network for outside of the office so i worked on the openVPN solution.


I think i m almost there but something is wrong i get that nasty message...
Here is i get when i do "openvpn --config client.conf"

------------------------------------ERROR-------------------------------------------------------
C:\VPN>
Mon May 01 03:35:04 2006 OpenVPN 2.0.7 Win32-MinGW [SSL] [LZO] built on Apr 12 2
006
Mon May 01 03:35:04 2006 WARNING: No server certificate verification method has
been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Mon May 01 03:35:04 2006 UDPv4 link local (bound): [undef]:5000
Mon May 01 03:35:04 2006 UDPv4 link remote: 209.217.79.195:5000
Mon May 01 03:35:04 2006 [openvpn] Peer Connection Initiated with 209.XX.XX.XX
:5000
Mon May 01 03:35:05 2006 TAP-WIN32 device [Network 2] opened:
\\.\Global\{57A8F034-26DC-424E-A80E-7A385744E601}.tap
Mon May 01 03:35:05 2006 Notified TAP-Win32 driver to set a DHCP IP/netmask of 1
92.168.0.200/255.255.255.0 on interface {57A8F034-26DC-424E-A80E-7A385744E601} [
DHCP-serv: 192.168.0.0, lease-time: 31536000]
Mon May 01 03:35:05 2006 Successful ARP Flush on interface [131076] {57A8F034-26
DC-424E-A80E-7A385744E601}
Mon May 01 03:35:35 2006 Initialization Sequence Completed With Errors ( see htt
p://openvpn.net/faq.html#dhcpclientserv )
-----------------------------------------------------------------------------------------------------------------
Apparently i m connected because i get the message
"Peer Connection Initiated with 209.XX.XX.XX:5000"

I don't understand why it's not working though, even the dhcp is not
working properly, when i change manually the ip address, it's still
not working. I go to network status and i can only see that "Bytes"
are sent and not received...

Below is my server.conf

---------------------server.conf------------------------------------------------------------------
port 5000
dev tap0

ca /etc/openvpn/cacert.pem
cert /etc/openvpn/openvpncert.cert
key /etc/openvpn/openvpnkey.pem

server-bridge 192.168.0.74 255.255.255.0 192.168.0.200 192.168.0.240

persist-tun
persist-key

inactive 3600
ping 10
ping-exit 60

user nobody
group nobody

verb 4
------------------------------------------------------------------------------------------
i run openvpn though a script

below is the script
----------------------------------openvpn_script---------------------------------
OPENVPN="/usr/sbin/openvpn"

$OPENVPN --mktun --dev tap0

brctl addbr br0

brctl addif br0 tap0
brctl addif br0 eth0

ifconfig eth0 0.0.0.0 promisc up
ifconfig tap0 0.0.0.0 promisc up


ifconfig br0 192.168.0.74 netmask 255.255.255.0 broadcast 192.168.0.255

$OPENVPN --daemon --config /etc/openvpn/server.conf --log-append
/var/log/openvpn.log
-------------------------------------------------------------------------------------------------------------

Finally here is my client conf
-------------------------client conf----------------------------
port 5000
dev tap
remote XXXXXXXX


tls-client

ca c://VPN//cacert.pem
cert c://VPN//guillaumecert.cert
key c://VPN/guillaumekey.pem

pull
ping 20
--------------------------------------------------

Thanks again for your precious help
--
Franck


------------------------------------------------------- Get stuff done quickly with pre-integrated technology to make your job easier 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/2006-05/msg00000.html on line 254

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/2006-05/msg00000.html on line 254