Article 6J7RD Travel router (Raspberry Pi) using hostapd and tailscale - not working

Travel router (Raspberry Pi) using hostapd and tailscale - not working

by
mazzo
from LinuxQuestions.org on (#6J7RD)
I have set up a tailnet with an exit node. The pi travel router is connected and is using the exit node locally (ie if I do a curl ifconfig.me it shows the exit node ip address).

It is providing dhcp connections through wifi and I can connect no problem. If I do not run tailscale, it serves the internet natively to any client that connects, however the moment I run tailscale up --exit-node=100.xx.xx.xx, it fails to server any internet. I can still connect to the wifi and get an local ip address and if I physically log into the pi, I am still able to ping google or do the ipconfig.me without issue.

So the problem is that the wifi is not passing anything to the eth0 connection (or possibly the tailscale0 connection). ipv4 forwarding is on.

I've fiddled with this for hours and end up getting into such a mess I need to rebuild the router again.

Setup: Pi running dietpi, with wifi hotspot app installed (basically hostapd) and tailscale client.

Any help would be very much appreciated. What little hair I have is being torn out!:confused:
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments