| Linode Forum https://forum.linode.com/ |
|
| OpenVPN driving me nuts https://forum.linode.com/viewtopic.php?f=19&t=7851 |
Page 1 of 1 |
| Author: | crazyfruitbat [ Sun Oct 02, 2011 3:30 am ] |
| Post subject: | OpenVPN driving me nuts |
Hi guys - I'm following the linode openvpn guide (http://library.linode.com/networking/op ... ng-openvpn) and I've hit a roadblock once I get to; Code: /etc/init.d/openvpn start it just doesn't work I just get [fail] though I have no idea where logs are kept to work out what the problem is. I must have gone through this 8 or 9 times now and I get the same result every time. Any ideas? |
|
| Author: | obs [ Sun Oct 02, 2011 5:49 am ] |
| Post subject: | |
Check /var/log/syslog and /etc/openvpn-status.log |
|
| Author: | crazyfruitbat [ Sun Oct 02, 2011 7:01 pm ] |
| Post subject: | |
cheers Obs, I have the syslog but no openvpn-status.log Code: Oct 2 07:12:17 localhost ovpn-client[13408]: OpenVPN 2.1.0 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 20 2010 Lookls like it can't find client1.key - which is weird because I've seen the file today. Is there anyway to just start again with all of this from scratch? even re-install openvpn? I think that something must have done wrong |
|
| Author: | iml [ Sun Oct 02, 2011 8:56 pm ] |
| Post subject: | |
Where did you see it? It should be in /etc/openvpn/easy-rsa/2.0/keys/ per the guide. It's better to go through it again with your current install if you missed something, particularly the key generating process. |
|
| Author: | crazyfruitbat [ Tue Oct 04, 2011 3:46 am ] |
| Post subject: | |
Ok - I have gone through it again and again. Driving me nuts. Here is the details of the first section: Code: writing new private key to 'ca.key' For the second bit: Code: root@swansea:/etc/openvpn/easy-rsa/2.0# . /etc/openvpn/easy-rsa/2.0/build-key client1 On the client.conf I have: Code: # SSL/TLS parms. and Code: # The hostname/IP and port of the server. And the last bit is what I think is wrong (remote chrisgilloch CA 1194) on the guide as 'OpenVPN server's name', so I'm not sure what to put there but I've tried a few. The files are also in the folder Any ideas? |
|
| Author: | TehDan [ Wed Oct 05, 2011 9:39 am ] |
| Post subject: | |
the remote line should be remote <server> <port> <server> would be the DNS name / IP if your linode, <port> would stay as 1194 unless you've changed the port in your server config. I'll also mention (you may have this covered, but its not clear from your pastes) that if you just ran the easy-rsa scripts on your mac, you'll need to put ca.crt, server.key, server.crt and ta.key (if using) into the server's openvpn directory (probably /etc/openvpn/). Its worth copying them over again even if you think you have this covered because if you've been through the stages several times its very easy to mix these things up |
|
| Author: | crazyfruitbat [ Thu Oct 06, 2011 7:30 pm ] |
| Post subject: | |
TehDan, Cheers for the help, that actually sorted it - it's up and running now, I'll just finish the rest off tonight and hopefully I can connect it through! Many thanks! Chris |
|
| Author: | crazyfruitbat [ Fri Oct 07, 2011 11:29 pm ] |
| Post subject: | |
Hi guys I have managed to get tunnelblick to connect to the vpn, how can I get it to send me the net connection and IP from the sever? It's basically to play the iplayer outside of the UK. Is this what a tunnel is? sorry for the noob questions! |
|
| Author: | crazyfruitbat [ Sat Oct 08, 2011 12:05 am ] |
| Post subject: | |
Scrap that - I have it showing that it has the IP address of the server THOUGH its so slow it wont load any web pages - any ideas? |
|
| Author: | crazyfruitbat [ Fri Oct 14, 2011 10:24 pm ] |
| Post subject: | |
Hi guys, I've managed to get this to connect and I can get streaming from the UK via iPlayer etc, though it's like being connected to a 56k modem - stop start etc. Is there any way that I can see how to improve the performance of the connection - or is it just the case I'm too far away from the UK to get a decent connection. If this doesn't work out I may need another solution to getting iplayer etc over here. Cheers, Chris |
|
| Author: | bozo [ Sat Oct 15, 2011 3:32 am ] |
| Post subject: | |
I never did get the vpn (using the library article method) to work effectively for what you are trying to do. For what you want to do a tunnel with a socks proxy usually works really well |
|
| Author: | hoopycat [ Sat Oct 15, 2011 8:59 am ] |
| Post subject: | |
Are you set for TCP or UDP? I don't always stream video to my netbook, but when I do, it's through OpenVPN with proto udp. TCP is not good for tunneling: if a packet is lost, the tunnel stream stops until the packet is recovered, which will cause the internal streams to assume packets were lost, which will cause them to freak out, etc. Basically, it's like putting a car in your car. This obviously isn't a video-streaming comparison, but it runs into similar constraints: Local side: RoadRunner, Rochester NY Tunnel server: Linode, Newark Simulated long-haul test: wget -O /dev/null http://fremont1.linode.com/100MB-fremont.bin With OpenVPN active: 1.15 MB/s Without OpenVPN active: 1.26 MB/s |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|