OpenVPN on OpenWRT with ethernet-bridging
by rullzer on Dec.13, 2009, under Gentoo, Hardware, Linux
This weekend I finally updated the router (Linksys WRT54GL) to OpenWRT-8.09.1. I was running 7.07 so it was about time. This means I moved form a 2.4 kernel to a 2.6 kernel.
It seems there are still some problems with the wifi but we have a dedicated acces point for that. Which means the required software is not even installed on the router. This is a good thing since there is very limit storage on the router.
While I was playing with the router I wanted to, finally, get OpenVPN running on it. Not that I really need the VPN but it is a matter of principles! So I started out with the OpenVPN Howto which guides your pretty much trough the whole setup.
However since room on the openwrt is limited, the easy-rsa (for key generation and signing) is not included. So I used my server to generate the keys and certs.
The ethernet-bridging is not necessary in my scenario but it seems the best way to go, espessialy since I want to implement it for some people that want to browse the samba shares. It is however important to note that you should have different local subnet and remote subnet.
So a productive weekend. It still feels cool that the router (which coasts only 55 euro’s) can be pimped so you can ssh to it, work with IPtables and act as an OpenVPN server! Embedded linux rocks







August 27th, 2010 on 10:50 am
article very good
March 5th, 2011 on 11:45 am
OpenVPN is indeed the best solution these days. I would like to recommend this awesome VPN auto login monitor program called VPNCheck which auto logins and closes programs when VPN crash and opens them upon connection.
http://www.guavi.com/vpncheck_free.html
October 4th, 2011 on 9:56 pm
fabuloso azano mi ribamo te vimosedil livilha reronfeis. analiam te vincia pisso nos incia o eridos fasig ormos bien.
November 5th, 2011 on 12:33 am
http://www.cool-vpn.net