I am trying to setup a wireless router and make use of a vpn. As I am fairly new to this secific topic. I hope somebody here can give me a hint or if possible a practical solution. I have searched the web up and down, but I did not find a convincing solution to the following problem:
I have a ubuntu based device with two wireless interfaces (wlan0 and wlan1) as well as a physical network interface (eth0) which is connected to the internet. I also plan to connect to a vpn (openvpn to an vpn provider I'll have to buy first) which will probably be tun0 or something. I want any traffic from devices connecting to wlan1 to be piped through the vpn and all traffic on wlan0 to be routed directly to the internet.
Here are my questions: a) is this possible at all? b) if ( a == yes ) how would I do it?
I need a reliable solution so please no dirty hacks if possible.
Thanks in advance, Peer