|
![]() |
|
| Author |
|
|||||||
|
HerbalLizard
Posts: 3173
Location: Queenstown, New Zealand
|
I am ripping my hair out with this
CC box running self sign ca's Open vpn client Tue Sep 29 12:55:43 2009: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Tue Sep 29 12:55:43 2009: LZO compression initialized Tue Sep 29 12:55:43 2009: UDPv4 link local: [undef] Tue Sep 29 12:55:43 2009: UDPv4 link remote: xxx,xxx,xxx,xxx:1194 Tue Sep 29 12:56:44 2009: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) Tue Sep 29 12:56:44 2009: TLS Error: TLS handshake failed Port forwarding has been setup on the router forwarding 1194 udp to the server @ 192.168.0.10 Any idea what key negotiation fails or do I need to pull the ta.key (TLS auth key) from somewhere and drop it into the xtra's config I can ping the external address but I have disabled telenet but added vpn passthrough. Anyone? |
|||||||
| #0 10:04am 29/09/09 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
TicMan
Posts: 5119
Location: Melbourne, Victoria
|
Try port forwarding both TCP & UDP maybe?
|
|||||||
| #1 10:16am 29/09/09 |
|
|||||||
|
tequila
Posts: 3388
Location: Brisbane, Queensland
|
yeah you need 1194/tcp as well
|
|||||||
| #2 10:34am 29/09/09 |
|
|||||||
|
HerbalLizard
Posts: 3175
Location: Queenstown, New Zealand
|
Forward both still as they put it (Beached as bro)
|
|||||||
| #3 10:37am 29/09/09 |
|
|||||||
|
tequila
Posts: 3390
Location: Brisbane, Queensland
|
pm me your external IP and I'll nmap it if you like
i could also try and connect with a fake account + tcpdump the traffic |
|||||||
| #4 11:09am 29/09/09 |
|
|||||||
|
Jim
Posts: 10409
Location: Brisbane, Queensland
|
there's no point forwarding tcp if you're running a udp server, and vice versa if you're running tcp - it'll only listen on whichever of the two you specify
netstat -lnp |grep 1194 to confirm can you run a packet sniffer on the router and look at what's going on? what's tcpdump on the server show? |
|||||||
| #5 01:05pm 29/09/09 |
|
|||||||
|
HerbalLizard
Posts: 3176
Location: Queenstown, New Zealand
|
zenmap is reporting the port as closed, mother f***er I swear that the port was open. So looks like the issue lies with the modem port forwarding not working. Going to stick with udp forward only. I have however noticed an open proxy running on the cc which I am sure the client is unaware of
|
|||||||
| #6 01:19pm 29/09/09 |
|
|||||||
|
TicMan
Posts: 5126
Location: Melbourne, Victoria
|
Is your CC box allowing those UDP connections? If you have a shell do this;
lsof -i udp:1194 iptables -L And paste results back. |
|||||||
| #7 02:13pm 29/09/09 |
|
|||||||
|
HerbalLizard
Posts: 3179
Location: Queenstown, New Zealand
|
ticman pm sent of ssh dump looks like chains is has 1194 droped in the policy
Also Can't for the life of me figure out how to create a tls.auth cert and produce the the server config via ssh its late and I am really f***ing tired last edited by HerbalLizard at 20:20:58 29/Sep/09 |
|||||||
| #8 08:20pm 29/09/09 |
|
|||||||
|
$ack
Posts: 877
Location: Brisbane, Queensland
|
Came across this error recently
The fix was downloading and adding the ca cert into the open vpn config ca ca.crt EDIT: on the client obviously. last edited by $ack at 23:21:46 29/Sep/09 |
|||||||
| #9 11:21pm 29/09/09 |
|
|||||||
|
HerbalLizard
Posts: 3182
Location: Queenstown, New Zealand
|
Fixed, the issue was with DNS so manually specifying the ip in the client
|
|||||||
| #10 07:26am 30/09/09 |
|
|||||||
|
HerbalLizard
Posts: 3183
Location: Queenstown, New Zealand
|
The issue was the the rsa easy script was spitting out the wrong dns name but had the correct name on the openvpn conf file. Changed the conf file to manual ip and hey presto
Going to change the internal subnets to something other than the common range to make road warrior use easier |
|||||||
| #11 07:43am 30/09/09 |
|
|||||||
|
system
|
--
|
|||||||
| #11 |
|
|||||||
|
| ||||||||