|
|
Tina, You don't have any --secret, therefore you are running the tunnel with no encryption or authentication. The UDP READs look good, that means that packets are being received. Opening port 5000 is usually not necessary if you have --remote and --ping on both sides of the connection. James System <system@xxxxxxxxxxxxxxxxxxxxxxxxx> said: > Hello All, > > I think i have go it working now :) But i just want to know abt this one. > > I say this : > Box1 > ======== > /usr/local/sbin/openvpn --remote 24.xxx.xxx.xx5 --dev tun0 --ifconfig > 192.168.1.101 192.168.1.102 --verb 9 --ping 15 > > Here is the Message the Box1 gives: > ============================== > Fri Aug 8 01:50:12 2003 94: UDP WRITE [16] to 24.xxx.xxx.xx5:5000: DATA > 2a187bf3 641eb4cb 07ed2d0a 981fc748 > Fri Aug 8 01:50:12 2003 95: EVENT event_timeout_wakeup (15/15) > Fri Aug 8 01:50:12 2003 96: SELECT TR|tw|UR|uw 15/0 > Fri Aug 8 01:50:12 2003 97: select returned 1 > Fri Aug 8 01:50:12 2003 98: read from UDP returned 16 > Fri Aug 8 01:50:12 2003 99: UDP READ [16] from 24.xxx.xxx.xx5:5000: DATA > 2a187bf3 641eb4cb 07ed2d0a 981fc748 > Fri Aug 8 01:50:12 2003 100: IP Address OK from 24.xxx.xxx.xx5:5000 > Fri Aug 8 01:50:12 2003 101: Peer Connection Initiated with > 24.xxx.xxx.xx5:5000 > Fri Aug 8 01:50:12 2003 102: RECEIVED PING > Fri Aug 8 01:50:12 2003 103: EVENT event_timeout_wakeup (15/15) > Fri Aug 8 01:50:12 2003 104: SELECT TR|tw|UR|uw 15/0 > Fri Aug 8 01:50:27 2003 105: select returned 1 > Fri Aug 8 01:50:27 2003 106: read from UDP returned 16 > Fri Aug 8 01:50:27 2003 107: UDP READ [16] from 24.xxx.xxx.xx5:5000: DATA > 2a187bf3 641eb4cb 07ed2d0a 981fc748 > > The above seems to be ok Right? > > Now my box2 > > On Box2 this: > ================= > /usr/local/sbin/openvpn --remote 66.xxx.xxx.xx3 --dev tun0 --ifconfig > 192.168.1.102 192.168.1.101 --verb 9 --ping 15 > > Error: > Thu Aug 7 15:59:20 2003 155: IP Address failed from 66.xxx.xxx.xx7:5000 > (allow this incoming address/port by removing --remote or adding --float) > Thu Aug 7 15:59:20 2003 156: EVENT event_timeout_wakeup (15/15) > Thu Aug 7 15:59:20 2003 157: SELECT TR|tw|UR|uw 15/0 > Thu Aug 7 15:59:35 2003 158: select returned 1 > Thu Aug 7 15:59:35 2003 159: read from UDP returned 16 > Thu Aug 7 15:59:35 2003 160: UDP READ [16] from 66.xxx.xxx.xx7:5000: DATA > 2a187bf3 641eb4cb 07ed2d0a 981fc748 > > Here is the problem, I have a Firewall on Box2 and i think i should open > 5000 port right for this to work fine ? > > Please correct me if i am missing somewhere. > > Regards, > Tina. > > -- |