Hello,
I have recently had major issues with a very similar situation. in the end
it was bad configuration on my part. things to make sure.
-- connect the two pc's using the normal network adapter in exactly the
normal way you would network them (ie completely ignore the vpn at this
point). Ping each computer and make sure there is normal comunication
between each computer. Possible issues: You MUST have a cross-over network
cable if you connect 2 computers directly (no hub) and you must have your
network settings setup corectly (and NOT on the 10.3.0.x network as this is
the network of your VPN)
-- Once this working correctly, do not touch the above network setup and
startup your Opnvpn with a config file like:
remote [Tap Ip address of other computer OR netbios name of other computer]
dev tap
dev-node [name of your tap adapter]
ping 5
verb 5
This is a bare minimum you need to get this setup to work and ther is no
encryption setup. I personally find that using netbios names works a little
more relaibly than ip address (no good reason for this). The "verb 5" will
give you R's and W's in the conenction window telling you what the adapters
are doing to try and talk to each other.
Note: you MUST have the 2 dev lines which seem to be missing in your
supplied configs. If you use this config above it should work. If it does
then:
add in the secret key
Add in the compression
Change verb 5 to verb 3
And you should be fine to start the more advanced settings.
Good luck.
J
From: nadamas gaucho gauchito <gaucho98@xxxxx>
To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
CC: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Openvpn-users] NO ping WinXP <----> WinXP
Date: Sat, 13 Sep 2003 04:34:12 +0400
Hello, Ihave problems connecting two Windows XP
I want to connect 2 PC con Windows XP, I read the exemple for connect 2
windows XP.
I dont have error messages, but I can´t make ping between the machines.
Somebody can help me??
PC1 WinXP <------------> PC2 WinXP (i dont have a HUB , are connected
directly)
Machine 1:
netsh interface ip set address my-tap static 10.3.0.1 255.255.255.0
Machine 2:
netsh interface ip set address my-tap static 10.3.0.2 255.255.255.0
PC1 whit IP 10.3.0.1
remote 10.3.0.2
secret key.txt
ping 10
#comp-lzo
verb 3
mute 10
PC2 whit IP 10.3.0.2
remote 10.3.0.1
secret key.txt
ping 10
#comp-lzo
verb 3
mute 10
this is de log file:
Fri Sep 12 20:02:11 2003 0: OpenVPN 1.5-beta7 Win32-MinGW [SSL]
[LZO][MTU-DYNAMIC] built on Aug 28 2003
Fri Sep 12 20:02:11 2003 1: Static Encrypt: Cipher 'BF-CBC' initialized
with 128 bit key
Fri Sep 12 20:02:11 2003 2: Static Encrypt: Using 160 bit message digest
'SHA1' for HMAC authentication
Fri Sep 12 20:02:11 2003 3: Static Decrypt: Cipher 'BF-CBC' initialized
with 128 bit key
Fri Sep 12 20:02:11 2003 4: Static Decrypt: Using 160 bit message digest
'SHA1' for HMAC authentication
Fri Sep 12 20:02:11 2003 5: Data Channel MTU parms [ link_mtu=1608
extra_frame=44 extra_buffer=0 extra_tun=64 ]
Fri Sep 12 20:02:11 2003 6: TAP-WIN32 device [my-tap] opened:
\\.\{51F5EA9B-98B0-46D4-9CFD-E6D11D24B31A}.tap
Fri Sep 12 20:02:11 2003 7: UDPv4 link local (bound): [undef]:5000
Fri Sep 12 20:02:11 2003 8: UDPv4 link remote: 10.3.0.2:5000
Fri Sep 12 20:03:07 2003 9: SIGTERM received, exiting
Fri Sep 12 20:03:07 2003 10: Closing TCP/UDP socket
Fri Sep 12 20:03:07 2003 11: Closing TUN/TAP device
Is everithink ok??
I also try this way:
PC1 whit IP 10.3.0.1 SERVER LISTENNING
#remote 10.3.0.2
secret key.txt
ping 10
#comp-lzo
verb 3
mute 10
PC2 whit IP 10.3.0.2 CLIENT
remote 10.3.0.1
secret key.txt
ping 10
#comp-lzo
verb 3
mute 10
PD: SOMETIME I HAVE ONE ERROR ABOUT ROUTING
__________
www.newmail.ru -- ÕÚÅÌ Ó×ÏÂÏÄÎÙÈ ËÏÍÍÕÎÉËÁÃÉÊ.
-------------------------------------------------------
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
_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|