Whisperer 2 Posted ... I want to configure AirVPN on my OpenWRT router and was hoping someone had some instructions for that, using LuCi or the CLI. I figure it's similar to DD-WRT, but it can completely destroy my network config, so all help is welcome. Also, I don't want gaming traffic and normal browsing to go over the VPN, so I figured I could configure iptables to tunnel traffic from one system through the VPN, while traffic from the other systems and devices goes across the non-VPN part of the line. I figure I could do it by IP or by lan-port. Problem is, I'm primarily a Windows admin. I'm not scared off by a little Linux, but I could use some help here. iptables is tough at the best of times. Quote Share this post Link to post
corrado 100 Posted ... I can't offer a complete solution and I have never configured an OpenWRT router but you could add a new routing table to /etc/iproutes2/rt_tables (for example "11 vpn"). You can then create a rule to direct traffic from your one system to this table using "ip rule from $ip address/ip range table vpn". Finally, define the default route for the vpn table: "ip route add default dev $vpn interface table vpn". Quote Share this post Link to post
Whisperer 2 Posted ... If I use a static route, that would mean the device would become inaccessible by the other devices on the network, correct? Since ALL its traffic now is forced over the VPN. I need its Internet traffic forced over the VPN, but it should still be able to talk to the other devices on the network. My guess is I'll need the firewall for that, since it will allow me to filter on client IP and/or port number(s). As for the instructions on installing, there's a thread in the 'Similar Topics' that I couldn't find with the search function. That should probably get me onto AirVPN. Then I'll need to split the tunnel... Quote Share this post Link to post