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

[Openvpn-users] Can't connect from outside P_CONTROL_HARD_RESET_CLIENT_V2


  • Subject: [Openvpn-users] Can't connect from outside P_CONTROL_HARD_RESET_CLIENT_V2
  • From: Josh Carlson <poboxjosh@xxxxxxxxx>
  • Date: Wed, 6 Apr 2005 10:58:27 -0700

Likely something simple I'm missing, but cannot find anything on the
mailing list/docs. I'll explain my current setup and

My current setup: (I'll refer to the server machine as office and the
client machine as home)
both machines are running openvpn-rc20

office network is 192.168.0.0 255.255.255.0 
office is redhat 4
office gateway has firewall opening and port forward for 1194udp
office LAN IP is 192.168.0.50
office gateway WAN IP is 208.xx.xx.xxx

home network is 192.168.2.0 255.255.255.0
home is windows xp pro sp2 with firewalls disabled

I am using server.conf and client.conf provided in sample-config-files/
(with correct paths to certs and home's remote is "remote  208.xx.xx.xxx 1194)

side note: If home is in the office network, I can successfully
connect the vpn by setting "remote 192.168.0.50 1194" and the machines
can ping each other.

Now, if home is on my home network (192.168.2.0) here's a log snippet
from home (verb 6)

[start log]
...
Wed Apr 06 09:37:34 2005 us=834694 OpenVPN 2.0_rc20 Win32-MinGW [SSL]
[LZO] built on Apr  4 2005
Wed Apr 06 09:37:34 2005 us=835736 IMPORTANT: OpenVPN's default port
number is now 1194, based on an official port number assignment by
IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Wed Apr 06 09:37:34 2005 us=837174 LZO compression initialized
Wed Apr 06 09:37:34 2005 us=837298 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
Wed Apr 06 09:37:34 2005 us=838350 Data Channel MTU parms [ L:1542
D:1450 EF:42 EB:23 ET:0 EL:0 AF:3/1 ]
Wed Apr 06 09:37:34 2005 us=838385 Local Options String: 'V4,dev-type
tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth
SHA1,keysize 128,key-method 2,tls-client'
Wed Apr 06 09:37:34 2005 us=838405 Expected Remote Options String:
'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto
UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method
2,tls-server'
Wed Apr 06 09:37:34 2005 us=838430 Local Options hash (VER=V4): '41690919'
Wed Apr 06 09:37:34 2005 us=838447 Expected Remote Options hash
(VER=V4): '530fdded'
Wed Apr 06 09:37:34 2005 us=838479 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Apr 06 09:37:34 2005 us=838495 UDPv4 link local: [undef]
Wed Apr 06 09:37:34 2005 us=838506 UDPv4 link remote: 208.xx.xx.xxx:1194
Wed Apr 06 09:37:34 2005 us=838585 UDPv4 WRITE [14] to
208.xx.xx.xxx:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0
DATA len=0
Wed Apr 06 09:37:34 2005 us=845009 UDPv4 READ [-1] from [undef]: DATA
UNDEF len=-1
Wed Apr 06 09:37:37 2005 us=265473 UDPv4 WRITE [14] to
208.xx.xx.xxx:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0
DATA len=0
Wed Apr 06 09:37:39 2005 us=688959 UDPv4 WRITE [14] to
208.xx.xx.xxx:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0
DATA len=0
Wed Apr 06 09:37:42 2005 us=112438 UDPv4 WRITE [14] to
208.xx.xx.xxx:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0
DATA len=0
Wed Apr 06 09:37:44 2005 us=345941 UDPv4 WRITE [14] to
208.xx.xx.xxx:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0
DATA len=0
...
[end log]

the last line P_CONTROL_HARD_RESET_CLIENT_V2 repeats "forever"

I have also tried using a mandrake linux machine as "home" and have
port 1194 open on the home firewall.

Here's a snip from the office logs, it appears that it is allocating
an ip for the home client.
Wed Apr  6 10:54:16 2005 us=691786 MULTI: multi_init called, r=256 v=256
Wed Apr  6 10:54:16 2005 us=691881 IFCONFIG POOL: base=10.8.0.4 size=62
Wed Apr  6 10:54:16 2005 us=692140 IFCONFIG POOL LIST
Wed Apr  6 10:54:16 2005 us=692208 home,10.8.0.4

Any help? 

Thanks much,
Josh

____________________________________________
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/2005-04/msg00086.html on line 260

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/2005-04/msg00086.html on line 260