How to install OpenVPN on Rasberry Pi running Debian.

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
mapexmbirch
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 30, 2012 12:51 pm

How to install OpenVPN on Rasberry Pi running Debian.

Post by mapexmbirch » Thu Aug 30, 2012 1:01 pm

So I have downloaded OpenVPN with
apt-get install openvpn

And I have tried following the following links
http://openvpn.net/index.php/access-ser ... ients.html
http://openvpn.net/index.php/open-sourc ... howto.html

But I get error messages, can someone please explain what to do after downloading it. Like in the simplest form possible.

I want to have all my internet traffic going through one of openvpn's servers. Like I am now on my windows machine. I am not sure if I am posting this in the right board, sorry if that is the case.

Thanks

john56477
OpenVPN User
Posts: 27
Joined: Tue Nov 06, 2012 12:02 am

Re: How to install OpenVPN on Rasberry Pi running Debian.

Post by john56477 » Tue Nov 06, 2012 1:08 am

Here is how I did it, if you have problems or questions with this guide,
please ask, so I can improve comments, hints

http://tryapi.wordpress.com/

http://www.raspberrypi.org/phpBB3/viewt ... 36&t=21566

points to note
1) It is implied that you to set up router static DHCP to the PI, and know how to setup port-forwarding
on the router, I used port 80 udp, but you can use whatever you like. the default is usually port 1194 udp
that the PI will have a fixed NAT address e.g. 192.168.1.6 and port 80 UDP is port forwarded to 192.168.1.6
2) I had to use a dynamic DNS host to access the PI, hence the bit about no-ip
3) I changed the ca.crt name to capi.crt because I have more than one VPN

Post Reply