-
Notifications
You must be signed in to change notification settings - Fork 38
VPN
VPN's are not "officially" supported with TetherFi only because there are so many VPN applications with so many different ways to connect.
VPNs are supported via a "best-effort" basis, feel free to make new issues to get help regarding attempting connections.
Essentially all VPN connections boil down to the following:
tl;dr: Connect your TetherFi device to the VPN directly. Connect your OTHER device
to TetherFi, but DO NOT connect the OTHER device to the VPN.
Let's assume you want to connect your laptop to a VPN using TetherFi.
Please read this page first.
Once you understand generally how TetherFi works, you will understand this next statement:
In order for your laptop to be on a VPN, your TetherFi device must be on a VPN.
You should never directly connect your laptop to a VPN when using TetherFi.
You should enable the "VPN" tweak in TetherFi, and YOU MUST go into your VPN app and enable a setting (if available) that looks something like "local network" or "network sharing" This is a feature that will allow the VPN to "let in" local connections, specifically the special IP address that TetherFi is set up on (which is usually 192.168.49.1). Without this tweak in the VPN app itself, this WILL NOT WORK.
You should enable the Local network sharing
option in the VPN settings
page.
You need to connect to Tailscale on your TetherFi device, AND configure the tailscaled
daemon
on your laptop/desktop machine. The tailscaled
daemon must be connected to the VPN. You can do
this via the CLI by exporting the HTTP_PROXY
and HTTPS_PROXY
variables into the environment
before running the daemon, AFTER connecting to the TetherFi proxy.
On Linux, this means you would have to use systemctl set-environment
to export the variables,
and then restart tailscale.service