making opnsense tailscale use an exit node in the cloud

Started by lvsund, November 05, 2023, 12:31:55 AM

Previous topic - Next topic
Hi,

I have tailscale installed on opnsense and clients for all my devices including one in the cloud. The one in the cloud is the exit node- so that in effect tailscale is used as a vpn for exiting out to the internet. All clients except opnsense router recognize and use the exit node- when requested by client. I can tell by checking whatsmyip.

What I am trying to do is have opnsense route all traffic through that cloud exit node. The idea would then be it wouldnt have to be chosen on each client.

I am assuming that this requires telling opnsense to route all traffic through the tailscale interface. How is that done /what rule do I set up to achieve that? I am assuming that once done I could use any browser on any device and have it show the whatsmyip point to the cloud machine exit node address. Or am I misunderstanding something? Thanks for whatever advice can be provided...

You effectively have two WAN connections - tailscale and your ISP. Check out the docs for setup https://docs.opnsense.org/manual/how-tos/multiwan.html


Hey lvsund,

I know it's quiet a long time ago, but did you managed to setup up a tailscale exit node in opnSENSE?