In my country many websites are blocked. I use openvpn, ssh tennels and socks proxies on linux to access uncensored internet.
Is there a way I can share the uncensored internet over wifi so that other devices on my home network can access it? Foe example can I share my VPN connection over wifi?
There is an android softeware called Fqrouter2 that does the same thing. I wonder if that can be done in linux.
If you can run the VPN client on the router (or the computer which acts as a router) then you can route all (or any selected) connections through the VPN.
With OpenVPN you can add
to the client configuration file to route all connections through the VPN, or
to route connections to a given destination.
For example, Ask Ubuntu uses CloudFlare and IPs in the 104.16.0.0 - 104.31.255.255 range so to route all connections to AskUbuntu.com through the VPN, you would add
If this provides insufficient granularity, you can also issue arbitrary commands with
which will be executed after the VPN connection is established. Make sure you set the appropriate
script-security
level.Before that, you need to share the connection over wifi of course.