I installed OpenVPN client on the OpenWRT and want to direct all my traffic through the VPN, including the game traffic.
But the server side didn't push the route to the client side. How can I achieve this by setting up in the OpenWRT using ip route
and ip rule
command?
--update--
Accutually, openwrt is just a virtual machine, I deployed it on the VirtualBox. All traffic from the host machine will flow through the virtual machine. I read some articles about how to using ip route to static route the traffic but still don't know what ip address I need to use to replace the address part of the ip route add
and ip rule add
rule.
ifconfig
output? (Why do you thinkifconfig
output is relevant to your question?) What have you tried so far? What is the (specific) problem you have with usingip route
?