OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • making opnsense tailscale use an exit node in the cloud
« previous next »
  • Print
Pages: [1]

Author Topic: making opnsense tailscale use an exit node in the cloud  (Read 1805 times)

lvsund

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
making opnsense tailscale use an exit node in the cloud
« on: November 05, 2023, 12:31:55 am »
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...
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: making opnsense tailscale use an exit node in the cloud
« Reply #1 on: November 05, 2023, 09:43:32 am »
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
Logged

lvsund

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: making opnsense tailscale use an exit node in the cloud
« Reply #2 on: November 05, 2023, 10:14:49 pm »
Thanks- Ill check into that link :)
Logged

mr_rbn

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: making opnsense tailscale use an exit node in the cloud
« Reply #3 on: July 18, 2024, 04:28:37 pm »
Hey lvsund,

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

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • making opnsense tailscale use an exit node in the cloud
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2