I flashed my new Linksys E1200v2 router with Tomato Firmware v1.28.9013 MIPSR2—RAF K26 USB VLAN-VPN-NOCAT.
I have two devices, adsl modem is connected to the internet and the new tomato router. I connected the router to the adsl modem via ethernet cable. What I want is to make two devices work together, set the router to serve its wireless clients over the vpn connection only. And the settings should be permanent, the router will be the "plug it in and it does its job" device if possible.
The openvpn access server is a VPS which I set up earlier. I can connect it via OpenVPN connect utility, I'm pretty sure that it works correctly.
Some settings of the router box:
- Set as AP (Tried Wireless-ethernet bridge option, SSID disappeared :) )
- Set as "router" not "gateway"
- DNS disabled, ip forced manually - 192.168.1.2
- Gateway for this box is 192.168.1.1 (the internet connected modem)
Configured the openvpn client, status shows ok. I can also ssh to the box and verify that it has got the ip assigned by the openvpn access server. However, the client pc connected to the router with wireless connection somehow uses the modem's connection/ip. The clients connected gets 192.168.1.1 as the gateway.
I have been trying to solve this for 2 days, I also tried installing dd-wrt but no luck.
What am I doing wrong?