Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:create_a_wifi_hotspot_which_tunnels_all_the_traffic_elsewhere [2016/10/22 00:39]
Fufu Fang
public:create_a_wifi_hotspot_which_tunnels_all_the_traffic_elsewhere [2018/03/31 00:38] (current)
Line 1: Line 1:
 +====== Create a Wifi hotspot which tunnels all the traffic elsewhere ======
 +Wouldn'​t it be great if your traffic gets tunneled elsewhere as soon as you connect to the Wifi network? This is better than configuring VPN on individual devices, as you only need to configure one device. Data leak is also less likely to happen. I have managed to make Google think that I am in Poland. ​
 +
 +The idea is to install OpenVPN on a OpenWRT device, and bridge the OpenVPN interface with a real interface together. You can set up DHCP server on the OpenWRT device, or you can have the DHCP server installed on the OpenVPN server. ​
 +
 +===== Prerequisite and assumption =====
 +  - Have an OpenWRT enabled Wifi access point
 +  - You have configured OpenVPN in TAP mode ((If not, you can follow [[public:​openvpn_network_bridge_with_static_key_encryption]])).
 +  - You have configured NAT on the OpenVPN server ((If not, you can follow [[http://​www.revsys.com/​writings/​quicktips/​nat.html]])).
 +  - You have configured your own DNS server elsewhere ((If not, you can use [[https://​developers.google.com/​speed/​public-dns/​|Google Public DNS]], or [[https://​www.unbound.net/​|Unbound]] DNS server)).
 +
 +===== Setting up an OpenVPN on OpenWRT =====
 +<​note>​ To be written... </​note>​
 +
 +===== Setting up an extra Wifi network on OpenWRT=====
 +  - Under Network $->$ Wifi $->$ Wireless Overview $->$, press ''​Add''​.
 +  - Under Interface Configuration $->$ General Setup $->$ Network $->$, tick OpenVPN'​s interface. This bridges OpenVPN'​s interface with the new Wifi interface.
  
  • public/create_a_wifi_hotspot_which_tunnels_all_the_traffic_elsewhere.txt
  • Last modified: 2018/03/31 00:38
  • (external edit)