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

[Openvpn-users] UDP problem


  • Subject: [Openvpn-users] UDP problem
  • From: Tarjei Bitustøyl <astaroth@xxxxxxxxxxxxx>
  • Date: Mon, 4 Aug 2003 14:41:08 +0200

Hi,
 
I just finished configuring, cursing over, and getting to work, this beautiful software that is OpenVPN.
 
I'm now successfully running a bridged ethernet roadwarrior setup tunneled through SSH, through HTTP proxies, and it's working like a dream. I had never thought it possible.
 
However! There is one little problem remaining. I seem to be unable to make OpenVPN work in UDP mode.
Why? Whenever I start it without the PROT argument (UDPv4) it just gives this (--verb 9):
 
Mon Aug  4 14:32:57 2003 us=714214 101[0]: EVENT event_timeout_trigger (10)
Mon Aug  4 14:32:57 2003 us=714337 102[0]: No outgoing address to send packet
Mon Aug  4 14:32:57 2003 us=714434 103[0]: SENT PING
Mon Aug  4 14:32:57 2003 us=714529 104[0]: EVENT event_timeout_wakeup (10/10)
Mon Aug  4 14:32:57 2003 us=714659 105[0]: SELECT TR|tw|SR|sw 10/0
Mon Aug  4 14:33:07 2003 us=709173 106[0]:  select returned 0
No outgoing address to send packet? hmph.
 
My server conf goes like this:
 
local localhost
dev tap0
auth none
cipher none
secret static.key
persist-key
persist-tun
ping-timer-rem
ping-restart 60
ping 10
verb 3
 
and the client conf like this:
 
remote localhost
auth none
cipher none
dev tap
dev-node tap
secret static.key
ping 10
verb 3
 
No magic about it. The fun thing is that it works perfectly if I add "PROT tcp-server" and "PROT tcp-client" to the file.
 
This does not work directly either (meaning, not tunneling through SSH), it gives that "No outgoing address to send packet" nevertheless. Both before and after I try to connect from the client.
 
Any idea? Or any good words on why I'm a dork to want UDP over TCP? =)
 
Regards
Tarjei