Showing posts with label IPCop. Show all posts
Showing posts with label IPCop. Show all posts

Sunday, May 10, 2009

OpenVPN tunneling revisited

Well first I used the default standard VPN tunneling port...it was blocked.

Then I tried to use port 443 (SSH)...it was also blocked.

So finally I set the VPN to port 80 (HTTP)...that one worked! Only drawback is I have a webserver that can only use port 80...well I simply have my router...route a different port to that machine...and that worked fine.

Sunday, April 12, 2009

IPcop, OpenVPN and the internets-revisited

Back a few months ago I had sucessfully loaded and ran OpenVPN on my IPcop router, and was able to access my home network securely from where ever I wanted to...

Well it died at some point...I am not sure what combination of things killed it, but essentially I was blocked from using it.

By default (and only choice in the version I installed) the OpenVPN plugin to IPcop sets you up with a UDP port 1194...which is the official universal VPN port apparently. Also apparently the various providers I had been using decided to block either the UDP or the 1194 or both.

I couldn't enable TCP on the version of OpenVPN (ZERINA) I had installed. I decided to put my openvpn connection onto the 443 secure port via TCP...so I had to reinstall Zerina.

A handy tool I used to remind me of the procedures is this video. A quick little flash thing that walks you through the commands.

Once I deleted the old version of openvpn I had, and installed the new one...and went back and rebuilt certificates, reinstall client data, (set the TCP and 443), etc...(previously documented)

I sucessfully connected (again) via tether through my cellphone to my home network.

Thursday, November 20, 2008

OpenVPN IPCop and Vista

Long story short...it works...pretty well.

Actually fairly simply.

Ok for those scratching their heads...By having IPCop as my router on my home network, and OpenVPN running on my laptop, I am able to create a secure tunnel between my laptop anywhere in the world, and my home network. I can browse files, etc. through a secure tube.

First I followed this instruction. (and the info in these 5 pages)
...the IPCop setup matched what I had done previously but had not worked...
...The OpenVPN GUI looked like the solution...so I installed it...it logged into my IPCop router...but I couldn't connect to the network...
...Log entry={ERROR: Windows route add command failed [adaptive]: returned error code 1}

Second, I found this post that said I just needed to install the latest version of OpenVPN...
...ah...the latest version of OpenVPN INCLUDES the GUI now...
...and I made sure I ran the program as administrator...
...but I still couldn't connect to my network...
...Log entry={ROUTE: route addition failed using CreateIpForwardEntry:}

Third, I found this other post that added two lines to the end of the {VPN-TO-IPCop.ovpn} file generated during the first instruction.
route-method exe
route-delay 2
Those two lines fixed my problem.

So using my laptop tethered to my HTC Touch, I was able to access my home network.

Note at the top I said it works...it does...but I cannot browse the network...it is probably normal, but unexpected...however I can map a network drive by adding the IP address {192.168.1.x} and browse the shares there and connect to then...from that point they are like any mapped network shares.

Interesting note...since I can access all the IP addresses on my network...all my IP devices (cameras, printer, NAS) can my administered using the same stored URLs I would use at home...in fact, I can print on the home printer this way. (as long as you use the IP address to access the computer...and not the automatic printer install I originally used)