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

RE: [Openvpn-users] Windows XP client --> Proxy --> Windows 2003 Server


  • Subject: RE: [Openvpn-users] Windows XP client --> Proxy --> Windows 2003 Server
  • From: "Claudio Rodrigues" <crodrigues@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 3 Dec 2003 10:53:54 -0500

I do not think so. Another post from a user that has it working (he can successfully ping the machines) was:

== BEGIN ==

Work Machine is	W2K behind firewall, with a routable IP Address
Config file:
	remote <ip of home machine>
	port 5800
	dev tap
	ifconfig 10.3.0.1 255.255.255.0
	secret key.txt
	comp-lzo
	verb 4
	mute 10


Home Machine: W2K, routable IP Address
Config file:
	remote <ip of work machine>
	port 5800
	dev tap
	ifconfig 10.3.0.2 255.255.255.0
	secret key.txt
	comp-lzo
	verb 4
	mute 10

I start them both up. I can ping both ways, and VNC works across the VPN. 
But I can't map any drives.
	NET USE * \\10.3.0.1\Shared * /USER:<my_userid>
results in:
	System error 53 has occurred.
	The network path was not found.

What am I missing?

Thanks!
jcf
== END ==

Exactly the same as I am trying but I need to use TCP as I am behind a proxy and the --http-proxy does not support UDP of course.
Unless the documentation is wrong and when using TCP you must use ifconfig with the start/end points as you suggested. But I guess that is not the case.

Portando, nada para dar risada. :-)

Cláudio Rodrigues

-----Original Message-----
From: Renato Salles [mailto:rsalles@xxxxxxxxxxxxxxxxxxxx] 
Sent: December 2, 2003 5:26 PM
To: Claudio Rodrigues; openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Openvpn-users] Windows XP client --> Proxy --> Windows 2003 Server


First wrong parameter found:

ifconfig thisvpnlink remotevpnlink

You wrongly filled with the netmask...

Please, RTMF...

HTH,


Rsalles


> Hey guys,
>
> Bear with me as I have never used OpenVPN and it is giving me a hard 
> time, refusing to work. :-) What I want to achieve is simple: connect 
> one machine behind a proxy (that DOES support the CONNECT method) to a 
> server I have in the office. The XP client has this .ovpn file:
>
> remote MY_EXTERNAL_IP
> port 443
> proto tcp-client
> tun-mtu 1500
> tun-mtu-extra 32
> dev tap
> ifconfig 192.168.10.3 255.255.255.0
> ping 10
> secret key.txt
>
> And I am calling OpenVPN using:
> openvpn --config home.ovpn --http-proxy myproxy 8080
>
> The server has this config file:
> port 443
> proto tcp-server
> tun-mtu 1500
> tun-mtu-extra 32
> dev tap
> ifconfig 192.168.10.1 255.255.255.0
> secret key.txt
> ping 10
> comp-lzo
> verb 4
> mute 10
>
> The connection is established but on the client I get this message:
>
> C:\Program Files\OpenVPN\config>openvpn --config home.ovpn 
> --http-proxy myproxy  8080 --comp-lzo
> Tue Dec 02 10:51:26 2003 0: OpenVPN 1.5.0 Win32-MinGW [SSL] [LZO] built on
> Nov 2
> 0 2003
> Tue Dec 02 10:51:26 2003 1: LZO compression initialized
> Tue Dec 02 10:51:27 2003 2: TAP-WIN32 device [Local Area Connection 2]
> opened: \
> \.\{07F9F829-D7BD-4D05-9A58-660392CEE0D1}.tap
> Tue Dec 02 10:51:27 2003 3: Successful ARP Flush on interface [196610]
> {07F9F829
> -D7BD-4D05-9A58-660392CEE0D1}
> Tue Dec 02 10:51:27 2003 4: NOTE: could not delete previously set dynamic
> IP/net
> mask: 169.254.174.180/255.255.0.0 (status=31)
> Tue Dec 02 10:51:27 2003 5: Succeeded in adding a temporary IP/netmask of
> 192.16
> 8.10.3/255.255.255.0 to interface {07F9F829-D7BD-4D05-9A58-660392CEE0D1}
> using t
> he Win32 IP Helper API
> Tue Dec 02 10:51:27 2003 6: Attempting to establish TCP connection with
> 140.10.10.55:8080
> Tue Dec 02 10:51:27 2003 7: TCP connection established with
> 140.10.10.55:8080
> Tue Dec 02 10:51:28 2003 8: TCPv4_CLIENT link local: [undef]
> Tue Dec 02 10:51:28 2003 9: TCPv4_CLIENT link remote: 140.10.10.55:8080
> Tue Dec 02 10:51:28 2003 10: WARNING: Bad encapsulated packet length from
> peer (
> 3338), which must be > 0 and <= 1579 -- please ensure that --tun-mtu or
> --link-m
> tu is equal on both peers -- this condition could also indicate a possible
> activ
> e attack on the TCP link -- [Attemping restart...]
> Tue Dec 02 10:51:28 2003 11: Connection reset, restarting [0]
>
> On the server side at the office I get something else complaining 
> about LZO packets or something like that but I can see the connection 
> reaches the server in the office. I tried removing the comp-lzo line 
> with the same results... Any ideas on how to get this working?
>
> Thanks guys!
>
> Cláudio Rodrigues
>
>


-- 
"A well-written program is its own heaven; a poorly-written program is its own hell." TAO of Programming - Book 4


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