I gang

dd-wrt configured as OpenVPN CLIENT


I need someone experienced with DD-WRT and OpenVPN to help me configure an Asus RT-N16 router running DD-WRT v24-sp2 (10/26/10) mega so that it connects to an OpenVPN Access Server on a Linode VPS running Ubuntu 8.04 LTS.

Once the router connects to the VPN, I would like some help configuring the router so that only certain devices on the network (a network-connected bluray player, an Apple Airport Express 802.11n, etc) are routed through the VPN while traffic from all other devices bypasses the VPN.


OpenVPN Access Server is up and running on my Linode -- I can connect to it via Tunnelblick on a Macbook Pro and via GuizmoVPN on an iPhone 4 using a [login to view URL] file generated by logging into the OpenVPN Access Server panel at https://mylinodeip.

DD-WRT is also working.


I enabled USB in DD-WRT and copied my autologon config from the Access Server software "client.ovpn" on it.

I saved a startup script:

openvpn --config /mnt/[login to view URL]

I saved some firewall "rules":

iptables -I FORWARD -i br0 -o tun0 -j ACCEPT

iptables -I FORWARD -i tun0 -o br0 -j ACCEPT


The router connects to the VPN -- I can see the active connection from the router when I login to the OpenVPN Access Server admin panel.

But after running the script the router is unable to access the internet.

Rebooting the router without the startup script restores my internet connection.

I tried to enable OpenVPN Client under DD-WRT Services- VPN and then copy-pasted the certificates etc from my [login to view URL] into the relevant fields, but the router does not connect to the VPN when I do this. DD-WRT only connects to the OpenVPN Access Server when I run the startup script, but after establishing the connection, the internet stops working.


I need someone to 1) solve the internet connectivity issue once DD-WRT connects to the OpenVPN Access server and 2) teach me how (or develop a script or something) to make specified devices (using MAC addresses?) connect through the VPN while all other network devices connect to the internet without the VPN.

I am a photographer by trade and know very little about networking, Linux, etc, so will need someone experienced, patient, and able to provide a simple solution I can easily implement.

Thanks in advance!

Evner: System Administrator, Fejlfinding

Se mere: wrt openvpn, wrt openvpn client, using wrt client connect openvpn access server, openvpn client wrt, openvpn access server wrt, wrt ovpn, iptables openvpn wrt, wrt openvpn iptables, wrt openvpn internet access, wrt openvpn access server, openvpn access server client wrt, wrt openvpn client script, openvpn wrt client, openvpn 11n, openvpn problem, wrt openvpn client connect linux server, wrt v24 sp2 openvpn client, openvpn n16 wrt, wrt openvpn client certain devices, asus n16 wrt openvpn, openvpn wrt asus n16, asus openvpn client access, wrt ovpn client, openvpn client wrt v24 sp2, configuring openvpn client wrt

Om arbejdsgiveren:
( 3 bedømmelser ) Vancouver, United States

Projekt ID: #978016

4 freelancere byder i gennemsnit $115 på dette job


Please see PMB.

$80 USD in 0 dage
(26 bedømmelser)

Have a nice day. Please check PM

$40 USD på 1 dag
(6 bedømmelser)

Hi, i'm DD-WRT and OpenWRT expert. Please, check recent review about DD-WRT worked

$160 USD in 7 dage
(5 bedømmelser)

Hello, I'm a Linux expert (13+ years of experience) and I've implemented this solution on a customer some months ago. I have the image and all configurations files prepared...

$180 USD in 2 dage
(1 bedømmelse)