List of Articles Icon

Knowledge Base

Guides and answers for your VPS, the client area, and billing

How can I enable TUN/TAP?

What this is

Nothing to enable: TUN/TAP is available by default on Linux VPS. You don't need to modprobe tun (and don't be alarmed if a guide's modprobe step errors, the functionality is already there). Verify any time:

ls -l /dev/net/tun

If that device node exists, and it does, VPN software has what it needs. On Premium VPS you run your own kernel, so modules are entirely yours to manage (modprobe tun as usual).

Running a VPN on your VPS

A personal VPN for your own use is allowed and is one of the most popular uses of a small VPS (public VPN services for other people are not). Two good routes:

  • WireGuard, modern, fast, simple, the full setup (script, phone QR codes, DNS leak checks, the OpenVPN fallback) is in Running your own VPN on your VPS.
  • OpenVPN, the battle-tested classic. Nyr's openvpn-install script remains the easiest way: run it, answer the prompts, import the generated .ovpn file on your devices.

And for connecting your servers to each other (rather than your devices to the internet), the overlay pattern is its own guide.

If you run your own firewall inside the VPS, allow your VPN's port (WireGuard defaults to UDP 51820, OpenVPN to UDP 1194). Our managed firewall doesn't block VPN ports.

Still need help?

You can open a support ticket. So we can help on the first reply, it's worth mentioning:

  • the VPS hostname or IP,
  • the VPN software you're setting up and its exact error.
  • "How do I enable TUN/TAP on my VPS?"
  • "Can I run OpenVPN or WireGuard on my VPS?"
  • "Is /dev/net/tun available?"
  • "Are personal VPNs allowed?"
Last reviewed: 2026-07-02