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

RE: [Openvpn-users] can't get linux-windows working (newbie)


  • Subject: RE: [Openvpn-users] can't get linux-windows working (newbie)
  • From: "Andrew Clarke" <spam@xxxxxxxxx>
  • Date: Tue, 7 Oct 2003 22:49:29 -0700
  • Importance: Normal

Hello Nathan.  Thank you very much for your response.  It turns out the
problem was that I'd forwarded port 5000 to the wrong computer on my
network!  Doh...  Once I fixed that the VPN came right up with the
configuration listed below.

I have another question now though: When I try to use a SAMBA share, I
can see the shares, click on them, but when I try to drill down more
than 1 level, it sits there for a long time and then tells me it
couldn't connect and that I may not have permissions.  I can use the
shares just fine when I go in normally from behind my firewall, but when
I take my laptop outside the firewall and go in through the VPN, it
doesn't work.  The weird thing is that one of my shares seems to work
fine but the others don't.  I don't know how much of it is a problem
with my VPN setup and how much is a problem with my SAMBA setup.  Here's
how I have things:

Windows XP laptop -> internet -> NAT firewall/router w/- TCP & UDP ports
5000 forwarded to -> linux computer.

Thanks for any other ideas,
- Andrew Clarke.


-----Original Message-----
From: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Nathan
Shanks
Sent: Sunday, October 05, 2003 20:25
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] RE: Openvpn-users digest, Vol 1 #264 - 1 msg


Today's Topics:

  " 1. can't get linux-windows working (newbie) (Andrew Clarke)"

What I would suggest is making sure both the source and destination are
on the same port.  This makes building firewall rules much easier.  You
might want to investigate if IP tables in involved it could be sending a
connection reset to you Windows system.  Another thing is truthfully I
don't think it matters but I have had issues with TAP device support on
Linux in the past with other tunneling products.  I suggest using the
"dev tun" instead.  You can still use a tap device on windows and it
doesn't cause any problems at all but try switching to a "tun" device
for your Linux system.
	Just as a side note make sure after the connection goes through
to setup your routes.  I don't see your startup script for your routes
defined in your config files and this can make it appears as though
traffic isn't flowing.  Just a heads up this would not cause the error
your getting.

- Nathan
-----Original Message-----
From: openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
openvpn-users-request@xxxxxxxxxxxxxxxxxxxxx
Sent: Sunday, October 05, 2003 11:17 PM
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Openvpn-users digest, Vol 1 #264 - 1 msg

Send Openvpn-users mailing list submissions to
	openvpn-users@xxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/openvpn-users
or, via email, send a message with subject or body 'help' to
	openvpn-users-request@xxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
	openvpn-users-admin@xxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Openvpn-users digest..."


Today's Topics:

   1. can't get linux-windows working (newbie) (Andrew Clarke)

--__--__--

Message: 1
From: Andrew Clarke <spam@xxxxxxxxx>
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Organization: clarke.ca inc.
Date: 05 Oct 2003 14:26:29 -0700
Subject: [Openvpn-users] can't get linux-windows working (newbie)

I have 2 computers (Windows XP Pro, Red Hat Linux 9) behind a NAT
firewall/router at home.  I'm trying to connect to these computers from
various locations using my laptop currently running Windows XP Pro. I've
forwarded TCP & UDP port 5000 to my linux computer and 5001 to port 5000
of my Windows computer.  I think I can get the VPN working between my
windows laptop and desktop, but when I try between my laptop and my
linux computer I get the following error:

read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)

I've read all the documentation and have been following this list for
about a week but I guess I'm just still too new to this stuff to be able
to make sense of it.  If anybody can help me out with at least getting a
basic tunnel going to my linux computer (the really important one) I'd
appreciate it a lot!

Thanks,
- Andrew Clarke.

What DID work for me (windows-windows)

Windows Server simple.ovpn:
dev tap
ifconfig 10.3.0.2 255.255.255.0
secret key.txt

Windows Client simple.ovpn:
remote home
port 5001
dev tap
ifconfig 10.3.0.3 255.255.255.0
ping 10
secret key.txt

What I'm trying now that isn't working (linux-windows):

Linux Server simple.conf:
dev tap
ifconfig 10.3.0.2 255.255.255.0
secret key.txt
tun-mtu 1500
tun-mtu-extra 32

Windows Client simple.ovpn:
remote home
port 5000
dev tap
ifconfig 10.3.0.3 255.255.255.0
ping 10
secret key.txt
tun-mtu 1500
tun-mtu-extra 32




--__--__--

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


End of Openvpn-users Digest


----------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users