WHAT I NEED:
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 [url removed, login to view], 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 [url removed, login to view] 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/[url removed, login to view]
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 [url removed, login to view] 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!
5 freelancers are bidding on average $102 for this job
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...