LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2017, 09:52 AM   #1
creinkaizer598
LQ Newbie
 
Registered: Nov 2017
Posts: 12

Rep: Reputation: Disabled
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
 
Old 11-26-2017, 11:28 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
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.
 
Old 11-27-2017, 11:11 AM   #3
creinkaizer598
LQ Newbie
 
Registered: Nov 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-28-2017, 03:50 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force all internet traffic through tun0 (Vpn Interface) dschuett Linux - Security 3 08-10-2011 09:36 AM
Force all internet traffic through tun0 (Vpn Interface) dschuett Linux - Security 2 08-10-2011 01:24 AM
[SOLVED] How do I route my internet traffic over tun0? FireRaven Linux - Networking 21 03-30-2010 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration