Skip to main content
Version: current

Virtual Private Networks

VPN documentation covers RouterOS tunnel and VPN technologies, including IPsec, L2TP, PPPoE, PPTP, SSTP, OpenVPN, WireGuard, GRE, EoIP, IPIP, 6to4, and ZeroTier. Use this section to configure secure or encapsulated connectivity.

6to4

6to4 is a special mechanism that allows IPv6 packets to be transmitted over IPv4 networks without the need for explicitly configured tunnel interfaces. It is especially useful for connecting two or more IPv6 networks over a network that does not have IPv6 support. There are two different ways of the 6to4 mechanism. If remote-address is not configured, the router will encapsulate and send an IPv6 packet directly over IPv4 if the first 16 bits are 2002, using the next 32 bits as the destination (IPv4 address converted to hex). In the other case, the IPv6 packet will be sent directly to the IPv4 remote-address.

📄️WireGuard

WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec while avoiding massive headaches. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general-purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable.