TechBuzzPro

Tailscale Connect PCs Without Public IP

· 7 min read · Apps & Browsers

In this article
  1. Background: Why Direct Connections Are Hard
  2. How Tailscale Works Without Public IPs
  3. What You Need to Get Started
  4. Common Problems and Troubleshooting
  5. Tailscale vs. Traditional VPNs and Remote Tools
  6. Cost and Limitations
  7. Safety and Security Considerations
  8. Alternatives to Tailscale
  9. Frequently Asked Questions

Yes, Tailscale can connect two PCs even when neither has a public IP address. It does this by creating an encrypted peer-to-peer mesh network that works through NATs and firewalls, so both machines can reach each other securely from anywhere.

Background: Why Direct Connections Are Hard

Normally, two computers on different private networks (like home or office Wi-Fi) cannot talk directly to each other. Each sits behind a router that assigns a private IP (e.g., 192.168.1.10) and performs Network Address Translation (NAT) to share one public IP. The public IP is often dynamic and shared, and the router blocks unsolicited incoming connections. This is why traditional remote access tools require port forwarding, a VPN server with a public IP, or a third-party relay server.

Tailscale solves this by building a mesh VPN on top of the WireGuard protocol. Instead of needing a public IP on either end, Tailscale assigns each device a stable, unique IP in the 100.x.y.z range (a CGNAT range). These virtual IPs are what you use to connect, regardless of the physical network underneath.

How Tailscale Works Without Public IPs

Tailscale uses a coordination server (the “coordination plane”) to help devices find each other, but it does not route your traffic through that server. The actual data flows directly between your PCs whenever possible. Here’s the process:

  1. Sign in: Each PC runs the Tailscale client and logs in with the same Tailscale account (or a shared team account).
  2. Key exchange: The client generates a WireGuard key pair and sends the public key to the coordination server, along with its current network endpoints (IP and port).
  3. Peer discovery: The server shares each device’s public key and endpoints with the other devices in your tailnet (your private network).
  4. NAT traversal: The clients attempt to establish a direct UDP connection using techniques like STUN, hole punching, and UPnP. If successful, they talk directly.
  5. Fallback relay: If direct connection fails (e.g., symmetric NAT), Tailscale automatically uses its DERP relay servers to forward encrypted traffic. This is a last resort, and the relay only sees encrypted packets, not your data.

The key insight: Tailscale does not need a public IP on your PC. It only needs outbound internet access, which almost every network has. The coordination server acts as a phone book, not a middleman for data.

What You Need to Get Started

Setting up Tailscale on two PCs is straightforward:

  • Tailscale account: You can use a free plan for personal use (up to 100 devices).
  • Install the client: Available for Windows, macOS, Linux, iOS, Android, and even NAS devices.
  • Sign in on both PCs: Use the same account, or create a tailnet and invite the other device.
  • Optional: Enable MagicDNS to use hostnames like my-pc instead of the 100.x IP.

Once both are online, you can ping, SSH, RDP, or access shared folders using the Tailscale IP or hostname. It works even if one PC is behind a strict corporate firewall (as long as outbound HTTPS is allowed).

Common Problems and Troubleshooting

While Tailscale is designed to “just work,” you may hit a few issues:

  • Direct connection fails: Check if your router supports UPnP or NAT-PMP. If not, Tailscale will fall back to relay, which is slower but still works.
  • Devices not visible: Make sure both are signed in to the same tailnet. On mobile, the app may be suspended in the background.
  • Firewall blocking: Tailscale needs UDP port 41641 outbound (and inbound for direct connections). Some corporate networks block UDP entirely; in that case, use the relay mode.
  • Speed is slow: If you see “relay” in the Tailscale status, try to improve NAT traversal by enabling UPnP on your router or using a port-forward for the WireGuard port.

You can check the connection path by running tailscale status or tailscale ping <hostname> in the terminal. It will show whether the connection is direct or via relay.

Tailscale vs. Traditional VPNs and Remote Tools

Traditional VPNs (like OpenVPN or IPsec) typically require a server with a public IP. You’d have to configure port forwarding on your router and expose a service to the internet. Tailscale flips this: there’s no server to maintain, and you don’t need to open any inbound ports. This makes it much easier for non-experts.

Compared to remote desktop tools like TeamViewer or AnyDesk, Tailscale is not a remote desktop app per se. It provides a secure network layer, so you can use any protocol (RDP, VNC, SSH, SMB) over that connection. This gives you more flexibility and lower latency, but you need to know how to use those protocols.

Another advantage: Tailscale uses WireGuard, which is known for its speed and simplicity. The code is open-source, and the protocol is audited. However, the coordination server is proprietary, though the client is open-source.

Cost and Limitations

Tailscale offers a free “Personal” plan that includes up to 100 devices and 3 users. This is more than enough for most home users. For teams, there are paid plans starting at a few dollars per user per month, which add features like device inventory, access controls, and SSO integration.

Limitations to be aware of:

  • Relay bandwidth: Free users get a limited amount of relay bandwidth (currently 50 GB/month). Direct connections are unlimited.
  • No public IP: Tailscale does not give you a public IPv4 address. It gives you a private 100.x address that only works within your tailnet.
  • Dependency on coordination server: If the coordination server is down, new connections can’t be established, though existing ones may persist.

Despite these, for the vast majority of use cases, Tailscale is free and reliable.

Safety and Security Considerations

Tailscale encrypts all traffic between devices using WireGuard’s cryptography. The coordination server never sees your encryption keys or the content of your traffic. However, you should still follow basic security practices:

  • Use strong authentication: Enable two-factor authentication on your Tailscale account.
  • Manage device access: You can revoke a device from your tailnet at any time from the admin console.
  • Be careful with sharing: If you share your tailnet with others, they can access any device you’ve shared. Use ACLs to restrict access if needed.
  • Keep clients updated: Tailscale releases security patches regularly.

One common misconception: Tailscale is not a tool to hide your IP from the internet. It’s a private network overlay. Websites you visit from a PC in the tailnet will still see your normal public IP, unless you use an exit node (a feature that routes all traffic through another device).

Alternatives to Tailscale

If you don’t want to use Tailscale, here are other ways to connect two PCs without public IPs:

  • ZeroTier: Similar mesh VPN with a free tier, but uses a different protocol.
  • WireGuard with a VPS: Set up your own server with a public IP, but this requires technical know-how and a monthly cost.
  • Hamachi (LogMeIn): An older peer-to-peer VPN, but free tier is limited to 5 devices.
  • Remote desktop services: TeamViewer, AnyDesk, or Chrome Remote Desktop work without public IPs, but they are not full network solutions.

Each has its trade-offs in ease of use, speed, and features. Tailscale is often the best balance for most users.

Frequently Asked Questions

Do both PCs need to be on at the same time?

Yes, for a direct connection, both devices must be powered on and running Tailscale. If one is off, you can’t connect to it. However, you can set up a “subnet router” or an exit node on a device that is always on (like a Raspberry Pi) to reach other devices on that network.

Can I use Tailscale to play LAN games with a friend?

Yes. Many games that support LAN play will work over Tailscale because it creates a virtual network adapter. Both players join the same tailnet, then start the game and select “LAN” or “multiplayer.” The game sees the other player as if they were on the same local network.

Does Tailscale work on Windows and Mac simultaneously?

Absolutely. Tailscale has native clients for Windows, macOS, Linux, iOS, and Android. You can mix operating systems freely; the mesh VPN is platform-agnostic.

Is Tailscale safe to use on public Wi-Fi?

Yes, Tailscale encrypts all traffic between your devices, so even on an untrusted network, your data is protected from eavesdroppers. However, it does not anonymize your traffic to the internet; it only protects traffic between your tailnet devices.

What if my internet connection is behind a strict firewall that blocks UDP?

Tailscale can fall back to using its DERP relay servers, which use HTTPS (TCP port 443). This is slower but works in most restrictive environments. You can force relay mode by configuring the client, but it’s usually automatic.