|
|
Tarjei Bitustøyl <astaroth@xxxxxxxxxxxxx> said: > 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. Tarjei, The "No outgoing address" happens if you don't have a --remote address specified, and if no authenticated packets have been received yet from a remote peer (which would reveal its address and give OpenVPN something to send packets back to). This could happen on the server side, since you are not specifying --remote there. The server is set to reset itself back to an initial listening state whenever it doesn't get a ping from a client during a 60 second period. After the server resets, if you were to try to ping from the server to a connected client, you would get the "no outgoing address" error. Are you getting the "No outgoing address" on the client or the server. Did you try running at --verb 6 or higher to see if UDP packets are flowing in both directions? James > 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 -- ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |