LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help i want my internet traffic route to tun0 or vpn server (https://www.linuxquestions.org/questions/linux-networking-3/help-i-want-my-internet-traffic-route-to-tun0-or-vpn-server-4175618406/)

creinkaizer598 11-26-2017 08:52 AM

Help i want my internet traffic route to tun0 or vpn server
 
Hello im new here as well as iptables and iproute how do i do it? Im using android and its rooted. Any help will be appreciated ty

mazinoz 11-26-2017 10:28 PM

I didn't root my tablet as many believe this is no longer necessary. However, I found OpenVPN from the Android Playstore very good. You will need to sign with a VPN provider which costs maybe $10 / m. Then input their details into OpenVPN. I've just done the exercise on tablet and desktop PC. I found Torguard quite good, but maybe make a good backup and then experiment with VPN. Many don't get it right straight off. Router ports to use for port forwarding are 1194 to 443 for Torguard. I use Desktop default eth0 as the address in router. I usually don't use tablet and desktop at same time, so always uses the same eth0 say 10.0.8.101. Once connected on Desktop PC I change gufw settings to put everything via tun0 instead of ethernet over power setting [enpl0s] by using edit rules. I use Bluetooth firewall and Wireless Killer from Playstore as I connect tablet via ethernet for security reasons. I'm still playing around with Android security. But hope this helps.

creinkaizer598 11-27-2017 10:11 AM

Still no luck. Ty for the help. I appreciate it. The only way is to use the powerful iptables and iproute. But i don't know how.

eantoranz 11-28-2017 02:50 PM

Well.... let's go with the basics..... why don't you introduce to the set up once you are connected to all the networks you will be connected?

Output for this is what needs to be used:

Code:

ip link show
ip addr show
ip route show



All times are GMT -5. The time now is 08:47 PM.