How to Set Up ZeroTier, OpenVPN and WireGuard VPN on the HL-WR843T OpenWrt 4G Router
HL-WR843T runs OpenWrt 22.03 and supports WireGuard, ZeroTier and OpenVPN. See how each VPN is set up in LuCI and which one fits your project.
Which VPNs does the HL-WR843T support?
VPN | What it is | Best for |
WireGuard | A modern, lightweight VPN protocol built into OpenWrt 22.03. It uses key pairs instead of usernames and passwords. | Site-to-site links and remote access where you want low overhead |
ZeroTier | A virtual LAN service. Devices join the same private network wherever they are, without port forwarding. | Connecting branches, offices or devices that sit behind NAT |
OpenVPN | A widely used SSL/TLS VPN. It works with the OpenVPN servers many companies already run. | Compatibility with an existing OpenVPN server |
WireGuard VPN on the HL-WR843T
- Click Generate new key pair. The router creates the private key and the matching public key (Base64). Keep the private key on the router; share only the public key with the other side.
- Listen Port is random by default. Set a fixed UDP port if the router works as the WireGuard server.
- IP Addresses is where you give the WireGuard interface its own address, for example 10.0.0.1/24.
- Add the other side under the Peers tab, with its public key and the IP addresses it is allowed to use.
- Bring up on boot is ticked, so the interface starts automatically after a reboot.

ZeroTier on the HL-WR843T
- First create your network at zerotier.com and copy its Network ID.
- Paste the Network ID into ZeroTier Network ID, tick Enable, then click Save & Apply.
- Auto NAT Clients lets devices on the ZeroTier network reach your local LAN.

OpenVPN on the HL-WR843T
- Template based configuration: type an instance name, pick a template from the list, and click Add.
- OVPN configuration file upload: type an instance name, choose your .ovpn file, and click Upload.

Which VPN should you choose?
Question | Answer |
You want the simplest setup with no port forwarding | ZeroTier — join the network with an ID, no public IP needed |
You want a fast, lightweight tunnel between two routers | WireGuard — key-based, low overhead |
You already run an OpenVPN server | OpenVPN — import the .ovpn file your server provides |
You need to reach devices on the router's LAN from outside | ZeroTier with Auto NAT Clients, or WireGuard / OpenVPN with the right routing |
HL-WR843T specifications
Item | Specification |
Model | HL-WR843T |
Chipset | MT7628NN, up to 580 MHz |
Memory | DDR2 128 MB |
Flash | SPI 16 MB |
Firmware | OpenWrt 22.03 |
Wireless | 300 Mbps, 2.4 GHz, IEEE 802.11b/g/n, 2T2R |
Antenna | 4 × external 5 dBi antennas |
Interface | 1 × 10/100M WAN, 4 × 10/100M LAN, 1 × USB port, 1 × SIM card slot, 1 × Mini PCI-E slot, 1 × SD card slot |
4G | Built-in Mini PCI-E slot for a 3G/4G module, as the customer needs |
Power | DC 12 V, max power consumption under 15 W |
Dimensions | 131 × 88.5 × 28.6 mm |



