How to Route Selective Traffic Through OpenVPN Using PassWall2 on OpenWRT
By default, running OpenVPN on an OpenWRT router redirects all internet traffic through the VPN, but a more flexible setup is possible. Combining OpenVPN with PassWall2 and Sing-Box allows users to convert the VPN tunnel into a selective proxy node. This involves configuring OpenVPN to avoid taking over the default gateway, then registering the tunnel interface in LuCI as an unmanaged interface. The tunnel is then added as a custom Sing-Box node in PassWall2, enabling rule-based traffic routing or local SOCKS proxy exposure. Multiple VPN locations can also be run simultaneously by repeating the process with additional tunnel interfaces such as tun1 and tun2.
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