Here is the situation:
I have a VPS server that runs an OpenVPN Server. The server is configured to forward traffic to the net for the purposes of avoiding a filter. Right now the current configuration works fine with Windows clients.
What I need:
Directions to configure OpenVPN running on a OpenWRT router to connect and pass all LAN traffic through the VPN. If the VPN loses connection, no traffic should reach the internet.
What I will provide you:
Current Server configuration file, and one set of client side keys/configuration files.
What I won't provide:
SSH or other access to the server. If server changes are needed, they will be provided in messages here.
What you need:
Router or computer running OpenWRT/OpenVPN, unless you are able to do this without any test hardware.
The router should receive an IP from DHCP on the WAN interface(eth0), and then initiate the VPN connection. Clients connected to the LAN site(eth1) should receive DHCP addresses from the router and then pass all traffic through the VPN.
Resulting information will be developed into a blog post/tutorial either by you or me(Your Choice, but will be a factor in determining compensation) and the resulting information will be credited to you and posted as CC-BY-SA thus benefiting the entire community.
After running the attatched start script, output from 'ifconfig tun0' is:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:25 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Note dropped packets.