How to Selectively Route OpenWrt Traffic Through OpenVPN Using Passwall2
A technical guide outlines how to configure an OpenWrt router to selectively route traffic through an OpenVPN connection rather than tunneling all traffic by default. The setup requires installing luci-app-openvpn, openvpn-openssl, Passwall2, and Singbox packages on the router. Users must add the 'route-nopull' option to their OpenVPN config and create an unmanaged network interface mapped to the tun0 device, while skipping default firewall rule modifications. A Singbox node is then configured in Passwall2 using the custom tun0 interface, enabling the VPN to function as a selective proxy or network-wide SOCKS proxy. Multiple VPN configurations can be supported simultaneously by assigning additional tunnel interfaces such as tun1 or tun2 and creating corresponding Passwall2 nodes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in