asvow / luci-app-tailscale

LuCI support for tailscale
GNU General Public License v3.0
134 stars 23 forks source link

Route traffic through exit node #12

Closed hkfuertes closed 3 months ago

hkfuertes commented 3 months ago

Quick question, probably this is config on my part... but I was not able to make the roter be a "client" and route all my traffic through another exit node. How can I achieve this?

asvow commented 3 months ago

Try adding the following Additional Flags in Extra Settings: --exit-node=<exit-node-ip> and --exit-node-allow-lan-access=true .

Reference:

hkfuertes commented 3 months ago

I managed to do it... that alone was not enougth, I had to define the firewall zone and follow the steps here: https://openwrt.org/docs/guide-user/services/vpn/tailscale/start

 1. Disable packet forwarding by default: Network → Firewall → General Settings

    Forward: reject

2. Disable LAN-to-WAN forwarding: Network → Firewall → Zones → lan → Edit

    Allow forward to destination zones: Ensure that your WAN zone is unselected.