0

I would like to configure a Raspberry Pi 3 with one additional WiFi dongle to serve as an access point (wlan0) and use wlan1 to connect to an open unsecured WLAN and run openvpn to connect to my VPN server. I am planning to use this setting in Hotels and Public WiFi APs.

How can I do this? I have used the RPI-Wireless-Hotspot script to configure the WiFi AP on wlan0. Then I use the openvpn client to connect to my VPN server.

How to I bridge the two networks so that requests from wlan0 get piped to wlan1 (internet access)?

In case the VPN goes offline, how can I disallow routing the traffic through the unsecured WLAN? Essentially I would like to route all internet traffic through the vpn tunnel and disallow anything else?

  • Raspberry Pi VPN Router This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN (or other VPN provider). Full guide here - gist.github.com/superjamie/ac55b6d2c080582a3e64 – Sam Sep 19 '17 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.