I set up a pi and through dietpi-software installed hotspot and tailscale.
All works as it should with dhcp wlan clients being served the internet with no issues. Also tailscale is working fine and I can ssh in and the machine appears in my tailnet.
The problem occurs when I set the exit node so that all traffic will have my remote external IP (which I need for some whitelisting in certain sites I maintain).
When I set tailscale up --ssh --exit-node=100.40.43.66 (the exit node address), the wifi clients lose all internet access. They still have connection to the pi and I can even ssh in through those local IPs. If I am ssh’d into the pi, I can see that exit-node is working correctly and I can ping google (or anything) without issue and if I curl ifconfig.me, I get my remote ip address as expected.
I have ipv4 and ipv6 forwarding on but it would seem that the wifi is not utilising tailscale0 interface (or at least that’s what it looks like). Having been trying unsuccessfully for days now, I realise it’s time to ask for help!!
Just some info:
Route:
192.168.8.0/24 dev eth0 proto kernel scope link src 192.168.8.132
192.168.42.0/24 dev wlan0 proto kernel scope link src 192.168.42.1
Interfaces (ip link):
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:4f:51:69 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:0c:e7:51:6b:a8 brd ff:ff:ff:ff:ff:ff
4: tailscale0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
link/none
If you need any other inputs to help diagnose, let me know. I will be keeping an eye on this thread all day and will aim to respond immediately if I can.
Thanks in advance.