Run a VPN server on OpenWrt
Run VpnHood! SERVER on your router to give yourself a way to connect back to it when you are away.
Install the package
Use a supported x86-64 or ARM64 router running OpenWrt 25.12 with the apk package manager. Allow at least 256 MB of RAM for a standalone server.
In our 256 MiB ARM64 VM, SERVER used about 97 MiB while one connected client transferred data using TCP forwarding.
Download the package for your router’s architecture from VpnHood! SERVER releases
Copy the downloaded file to the router and install it over SSH as root. This command uses the x86-64 package as an example.
apk --print-archapk add --allow-untrusted /tmp/VpnHoodServer-openwrt-x86_64.apkStart your server and connect
Its first start takes port 443, or 8443 where the router's own web page uses 443. For another port or a public address, edit the server's settings in /opt/vpnhood-server/storage/appsettings.json.
/etc/init.d/VpnHoodServer enable/etc/init.d/VpnHoodServer startvhserver gen -name OpenWrtCopy the access key the server prints and add it in VpnHood! CLIENT