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

[Openvpn-users] Little problem?


  • Subject: [Openvpn-users] Little problem?
  • From: fmml@xxxxxxxxxx
  • Date: Sun, 30 May 2004 08:40:46 -0400 (EDT)
  • Importance: Normal

Hi all,

I am trying to setup Openvpn between a Linux server and a windows XP client.

It seem to communicate, but can't ping our launch applications trough tunnel.

Firewall is not an issue as I am trying to get this running on my home lan
for tests purposes.
Must be something simple, can't put the finger on it.

All I need is to run an putty/ssh on the Linux box.

Both end are running OpenVPN 2.0_beta2.

Tried with tun, with lzo, with encryption, no success.

As I am new to Openvpn and don't know what a good connection looks like,
can't really make sense of all info in the logs.


Any ideas?

Log excerpt from Linux:


Linux gentoo 2.4.25-gentoo-r2 Kernell with tun/tap compiled in
openvpn.conf:
#dev tun
dev tap
tun-mtu 1500
#mssfix 1400
fragment 1400
#ifconfig 10.1.0.1 10.1.0.2
ifconfig 10.3.0.1 255.255.255.0
#secret static.key
#comp-lzo
verb 9

Windoze XP pro:
Openvpn.conf
remote mylinux_server
#dev tun
dev tap
tun-mtu 1500
#mssfix 1400
fragment 1400
#ifconfig 10.1.0.2 10.1.0.1
ifconfig 10.3.0.2 255.255.255.0
#secret static.key
ping 10
#comp-lzo
verb 9
mute 10

Log excerpt from Linux:
/usr/local/sbin/openvpn --config /etc/openvpn/openvpn.conf
Sun May 30 08:26:41 2004 us=173813 Current Parameter Settings:
Sun May 30 08:26:41 2004 us=174128   config = '/etc/openvpn/openvpn.conf'
Sun May 30 08:26:41 2004 us=174186   mode = 0
Sun May 30 08:26:41 2004 us=174238   persist_config = DISABLED
Sun May 30 08:26:41 2004 us=174290   persist_mode = 1
Sun May 30 08:26:41 2004 us=174337   show_ciphers = DISABLED
Sun May 30 08:26:41 2004 us=174384   show_digests = DISABLED
Sun May 30 08:26:41 2004 us=174430   genkey = DISABLED
Sun May 30 08:26:41 2004 us=174478   askpass = DISABLED
Sun May 30 08:26:41 2004 us=174547   show_tls_ciphers = DISABLED
Sun May 30 08:26:41 2004 us=174596   proto = 0
Sun May 30 08:26:41 2004 us=174643   local = '[UNDEF]'
Sun May 30 08:26:41 2004 us=174689   remote_list = NULL
Sun May 30 08:26:41 2004 us=174737   remote_random = DISABLED
Sun May 30 08:26:41 2004 us=174789   local_port = 5000
Sun May 30 08:26:41 2004 us=174838   remote_port = 5000
Sun May 30 08:26:41 2004 us=174884   remote_float = DISABLED
Sun May 30 08:26:41 2004 us=174931   ipchange = '[UNDEF]'
Sun May 30 08:26:41 2004 us=174977   bind_local = ENABLED
Sun May 30 08:26:41 2004 us=175024   dev = 'tap'
Sun May 30 08:26:41 2004 us=175071   dev_type = '[UNDEF]'
Sun May 30 08:26:41 2004 us=175116   dev_node = '[UNDEF]'
Sun May 30 08:26:41 2004 us=175164   tun_ipv6 = DISABLED
Sun May 30 08:26:41 2004 us=175210   ifconfig_local = '10.3.0.1'
Sun May 30 08:26:41 2004 us=175258   ifconfig_remote_netmask =
'255.255.255.0'
Sun May 30 08:26:41 2004 us=175305   ifconfig_noexec = DISABLED
Sun May 30 08:26:41 2004 us=175355   ifconfig_nowarn = DISABLED
Sun May 30 08:26:41 2004 us=175400   shaper = 0
Sun May 30 08:26:41 2004 us=175445   tun_mtu = 1500
Sun May 30 08:26:41 2004 us=175492   tun_mtu_defined = ENABLED
Sun May 30 08:26:41 2004 us=175538   link_mtu = 1500
Sun May 30 08:26:41 2004 us=175586   link_mtu_defined = DISABLED
Sun May 30 08:26:41 2004 us=175632   tun_mtu_extra = 32
Sun May 30 08:26:41 2004 us=175679   tun_mtu_extra_defined = ENABLED
Sun May 30 08:26:41 2004 us=175725   fragment = 1400
Sun May 30 08:26:41 2004 us=175773   mtu_discover_type = -1
Sun May 30 08:26:41 2004 us=175818   mtu_test = 0
Sun May 30 08:26:41 2004 us=175876   mlock = DISABLED
Sun May 30 08:26:41 2004 us=175922   inactivity_timeout = 0
Sun May 30 08:26:41 2004 us=175977   ping_send_timeout = 0
Sun May 30 08:26:41 2004 us=176023   ping_rec_timeout = 0
Sun May 30 08:26:41 2004 us=176074   ping_rec_timeout_action = 0
Sun May 30 08:26:41 2004 us=176120   ping_timer_remote = DISABLED
Sun May 30 08:26:41 2004 us=176173   persist_tun = DISABLED
Sun May 30 08:26:41 2004 us=176219   persist_local_ip = DISABLED
Sun May 30 08:26:41 2004 us=176266   persist_remote_ip = DISABLED
Sun May 30 08:26:41 2004 us=176314   persist_key = DISABLED
Sun May 30 08:26:41 2004 us=176360   mssfix = 1450
Sun May 30 08:26:41 2004 us=176407   passtos = DISABLED
Sun May 30 08:26:41 2004 us=176453   resolve_retry_seconds = 0
Sun May 30 08:26:41 2004 us=176500   connect_retry_seconds = 5
Sun May 30 08:26:41 2004 us=176546   username = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176593   groupname = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176638   chroot_dir = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176691   cd_dir = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176736   writepid = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176782   up_script = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176828   down_script = '[UNDEF]'
Sun May 30 08:26:41 2004 us=176875   up_restart = DISABLED
Sun May 30 08:26:41 2004 us=176921   daemon = DISABLED
Sun May 30 08:26:41 2004 us=176968   inetd = 0
Sun May 30 08:26:41 2004 us=177035   log = DISABLED
Sun May 30 08:26:41 2004 us=177088   nice = 0
Sun May 30 08:26:41 2004 us=177133   verbosity = 9
Sun May 30 08:26:41 2004 us=177186   mute = 0
Sun May 30 08:26:41 2004 us=177231   gremlin = DISABLED
Sun May 30 08:26:41 2004 us=177284   occ = ENABLED
Sun May 30 08:26:41 2004 us=177329   rcvbuf = 65536
Sun May 30 08:26:41 2004 us=177380   sndbuf = 65536
Sun May 30 08:26:41 2004 us=177426   http_proxy_server = '[UNDEF]'
Sun May 30 08:26:41 2004 us=177478   http_proxy_port = 0
Sun May 30 08:26:41 2004 us=177524   http_proxy_auth_method = '[UNDEF]'
Sun May 30 08:26:41 2004 us=177574   http_proxy_auth_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=177620   http_proxy_retry = DISABLED
Sun May 30 08:26:41 2004 us=177672   socks_proxy_server = '[UNDEF]'
Sun May 30 08:26:41 2004 us=177719   socks_proxy_port = 0
Sun May 30 08:26:41 2004 us=177766   socks_proxy_retry = DISABLED
Sun May 30 08:26:41 2004 us=177814   comp_lzo = DISABLED
Sun May 30 08:26:41 2004 us=177860   comp_lzo_adaptive = ENABLED
Sun May 30 08:26:41 2004 us=177907   route_script = '[UNDEF]'
Sun May 30 08:26:41 2004 us=177953   route_default_gateway = '[UNDEF]'
Sun May 30 08:26:41 2004 us=178002   route_noexec = DISABLED
Sun May 30 08:26:41 2004 us=178048   route_delay = 0
Sun May 30 08:26:41 2004 us=178097   route_delay_defined = DISABLED
Sun May 30 08:26:41 2004 us=178143   shared_secret_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=178190   key_direction = 0
Sun May 30 08:26:41 2004 us=178237   ciphername_defined = ENABLED
Sun May 30 08:26:41 2004 us=178284   ciphername = 'BF-CBC'
Sun May 30 08:26:41 2004 us=178330   authname_defined = ENABLED
Sun May 30 08:26:41 2004 us=178376   authname = 'SHA1'
Sun May 30 08:26:41 2004 us=178428   keysize = 0
Sun May 30 08:26:41 2004 us=178472   replay = ENABLED
Sun May 30 08:26:41 2004 us=178518   replay_window = 64
Sun May 30 08:26:41 2004 us=178565   replay_time = 15
Sun May 30 08:26:41 2004 us=178611   packet_id_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=178659   use_iv = ENABLED
Sun May 30 08:26:41 2004 us=178704   test_crypto = DISABLED
Sun May 30 08:26:41 2004 us=178752   tls_server = DISABLED
Sun May 30 08:26:41 2004 us=178798   tls_client = DISABLED
Sun May 30 08:26:41 2004 us=178849   key_method = 2
Sun May 30 08:26:41 2004 us=178895   ca_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179047   dh_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179097   cert_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179145   priv_key_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179191   cipher_list = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179239   tls_verify = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179285   tls_remote = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179333   crl_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179379   tls_timeout = 2
Sun May 30 08:26:41 2004 us=179431   renegotiate_bytes = 0
Sun May 30 08:26:41 2004 us=179476   renegotiate_packets = 0
Sun May 30 08:26:41 2004 us=179530   renegotiate_seconds = 3600
Sun May 30 08:26:41 2004 us=179576   handshake_window = 60
Sun May 30 08:26:41 2004 us=179623   transition_window = 3600
Sun May 30 08:26:41 2004 us=179670   single_session = DISABLED
Sun May 30 08:26:41 2004 us=179716   tls_auth_file = '[UNDEF]'
Sun May 30 08:26:41 2004 us=179764   pull = DISABLED
Sun May 30 08:26:41 2004 us=179810   ifconfig_pool_defined = DISABLED
Sun May 30 08:26:41 2004 us=179889   ifconfig_pool_start = 0.0.0.0
Sun May 30 08:26:41 2004 us=179947   ifconfig_pool_end = 0.0.0.0
Sun May 30 08:26:41 2004 us=179996   n_bcast_buf = 256
Sun May 30 08:26:41 2004 us=180044   real_hash_size = 256
Sun May 30 08:26:41 2004 us=180092   virtual_hash_size = 256
Sun May 30 08:26:41 2004 us=180139   client_connect_script = '[UNDEF]'
Sun May 30 08:26:41 2004 us=180188   client_disconnect_script = '[UNDEF]'
Sun May 30 08:26:41 2004 us=180237   client_config_dir = '[UNDEF]'
Sun May 30 08:26:41 2004 us=180285   tmp_dir = '[UNDEF]'
Sun May 30 08:26:41 2004 us=180331   push_ifconfig_defined = DISABLED
Sun May 30 08:26:41 2004 us=180385   push_ifconfig_local = 0.0.0.0
Sun May 30 08:26:41 2004 us=180438   push_ifconfig_remote_netmask = 0.0.0.0
Sun May 30 08:26:41 2004 us=180487   enable_c2c = DISABLED
Sun May 30 08:26:41 2004 us=180533   cf_max = 0
Sun May 30 08:26:41 2004 us=180580   cf_per = 0
Sun May 30 08:26:41 2004 us=180709 OpenVPN 2.0_beta2 i686-pc-linux-gnu
[SSL] [LZO] built on May 29 2004
Sun May 30 08:26:41 2004 us=180858 ******* WARNING *******: all encryption
and authentication features disabled -- all data will be tunnelled as
cleartext
Sun May 30 08:26:41 2004 us=180989 MTU DYNAMIC mtu=1400, flags=2, 1536 ->
1400
Sun May 30 08:26:41 2004 us=181232 MTU DYNAMIC mtu=1450, flags=2, 1536 ->
1450
Sun May 30 08:26:41 2004 us=181840 TUN/TAP device tap0 opened
Sun May 30 08:26:41 2004 us=181967 TUN/TAP TX queue length set to 100
Sun May 30 08:26:41 2004 us=182089 /sbin/ifconfig tap0 10.3.0.1 netmask
255.255.255.0 mtu 1500 broadcast 10.3.0.255
Sun May 30 08:26:41 2004 us=196047 Data Channel MTU parms [ L:1536 D:1450
EF:4 EB:0 ET:32 EL:0 ]
Sun May 30 08:26:41 2004 us=196197 Fragmentation MTU parms [ L:1536 D:1400
EF:4 EB:0 ET:32 EL:0 ]
Sun May 30 08:26:41 2004 us=196323 Local Options String: 'V3,dev-type
tap,link-mtu 1536,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0
255.255.255.0,mtu-dynamic'
Sun May 30 08:26:41 2004 us=196384 Expected Remote Options String:
'V3,dev-type tap,link-mtu 1536,tun-mtu 1532,proto UDPv4,ifconfig 10.3.0.0
255.255.255.0,mtu-dynamic'
Sun May 30 08:26:41 2004 us=196526 Local Options hash (VER=V3): '8c181479'
Sun May 30 08:26:41 2004 us=196621 Expected Remote Options hash (VER=V3):
'8c181479'
Sun May 30 08:26:41 2004 us=196744 Socket Buffers: R=[65535->131072]
S=[65535->131072]
Sun May 30 08:26:41 2004 us=196822 UDPv4 link local (bound): [undef]:5000
Sun May 30 08:26:41 2004 us=196875 UDPv4 link remote: [undef]
Sun May 30 08:26:41 2004 us=196939 EVENT event_timeout_wakeup (2/2)
Sun May 30 08:26:41 2004 us=197080 TIMER: coarse timer wakeup 2 seconds
Sun May 30 08:26:41 2004 us=197160 RANDOM USEC=409958
Sun May 30 08:26:41 2004 us=197219 SELECT TR|tw|SR|sw 2/409958
Sun May 30 08:26:41 2004 us=537200  select returned 1
Sun May 30 08:26:41 2004 us=537349 UDPv4 read returned 46
Sun May 30 08:26:41 2004 us=537528 UDPv4 READ [46] from
192.168.41.195:63280:  DATA 00000000 ffffffff ffff00ff ff9be069 08060001
08000604 000100ff ff9be06[more...]
Sun May 30 08:26:41 2004 us=537601 FRAG_IN buf->len=42 type=FRAG_WHOLE
flags=0x00000000
Sun May 30 08:26:41 2004 us=537726 Peer Connection Initiated with
192.168.41.195:63280
Sun May 30 08:26:41 2004 us=537803 SELECT TR|TW|sr|sw 2/409958
Sun May 30 08:26:41 2004 us=537870  select returned 1
Sun May 30 08:26:41 2004 us=538046 TUN WRITE [42]: ffffffff ffff00ff
ff9be069 08060001 08000604 000100ff ff9be069 0a03000[more...] md5=7dc8dbbf
38248066 0dd8fb3e a2391b39
Sun May 30 08:26:41 2004 us=538163  write to TUN/TAP returned 42
Sun May 30 08:26:41 2004 us=538229 SELECT TR|tw|SR|sw 2/409958
Sun May 30 08:26:42 2004 us=537898  select returned 1
Sun May 30 08:26:42 2004 us=537984 UDPv4 read returned 46
Sun May 30 08:26:42 2004 us=538138 UDPv4 READ [46] from
192.168.41.195:63280:  DATA 00000000 ffffffff ffff00ff ff9be069 08060001
08000604 000100ff ff9be06[more...]


Log from XP:

Sun May 30 08:31:55 2004 us=43176 EVENT event_timeout_wakeup (2/5)
Sun May 30 08:31:55 2004 us=53529 SELECT trQ|tw0|srQ|swR 2/623111
Sun May 30 08:31:55 2004 us=54070  select returned 2
Sun May 30 08:31:55 2004 us=54694 7 variation(s) on previous 10 message(s)
suppr
essed by --mute
Sun May 30 08:31:55 2004 us=54924 UDPv4 WRITE [114] to 192.168.41.1:5000: 
DATA
00000000 ffffffff ffff00ff ff9be069 08004500 0060deee 00008011
46980a0[more...]
Sun May 30 08:31:55 2004 us=55202 WIN32 I/O: Socket Completion non-queued
succes
s [114]
Sun May 30 08:31:55 2004 us=55671 WIN32 I/O: Socket Send immediate return
[114,1
14]
Sun May 30 08:31:55 2004 us=55911 UDPv4 write returned 114
Sun May 30 08:31:55 2004 us=56043 EVENT event_timeout_wakeup (2/5)
Sun May 30 08:31:55 2004 us=56404 WIN32 I/O: TAP Read immediate return
[1532,110
]
Sun May 30 08:31:55 2004 us=56643 SELECT trR|tw0|srQ|swR 2/623111
Sun May 30 08:31:55 2004 us=60089  select returned 2
Sun May 30 08:31:55 2004 us=60487 WIN32 I/O: TAP Completion non-queued
success [
110]
Sun May 30 08:31:55 2004 us=60717  read from TUN/TAP returned 110
Sun May 30 08:31:55 2004 us=61058 TUN READ [110]: ffffffff ffff00ff
ff9be069 080
04500 0060deef 00008011 46970a03 00020a0[more...] md5=a5bc8e2a 35ed8350
a0f5888e
 b2fd6c0e
Sun May 30 08:31:55 2004 us=61664 4 variation(s) on previous 10 message(s)
suppr
essed by --mute
Sun May 30 08:31:55 2004 us=61876 UDPv4 WRITE [114] to 192.168.41.1:5000: 
DATA
00000000 ffffffff ffff00ff ff9be069 08004500 0060deef 00008011
46970a0[more...]
Sun May 30 08:31:55 2004 us=62087 WIN32 I/O: Socket Completion non-queued
succes
s [114]
Sun May 30 08:31:55 2004 us=62597 WIN32 I/O: Socket Send immediate return
[114,1
14]
Sun May 30 08:31:55 2004 us=62820 UDPv4 write returned 114
Sun May 30 08:31:55 2004 us=62953 EVENT event_timeout_wakeup (2/5)
Sun May 30 08:31:55 2004 us=63304 WIN32 I/O: TAP Read queued [1532]
Sun May 30 08:31:55 2004 us=63548 SELECT trQ|tw0|srQ|swR 2/623111
Sun May 30 08:31:55 2004 us=798697  select returned 2
Sun May 30 08:31:55 2004 us=801426 WIN32 I/O: TAP Completion success [110]
Sun May 30 08:31:55 2004 us=803426  read from TUN/TAP returned 110
Sun May 30 08:31:55 2004 us=805254 TUN READ [110]: ffffffff ffff00ff
ff9be069 08
004500 0060def7 00008011 468f0a03 00020a0[more...] md5=a0bad9e2 8a7b5928
1c797bf
e 5bb4369c
Sun May 30 08:31:55 2004 us=813749 4 variation(s) on previous 10
message(s) supp


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