LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2023, 03:43 PM   #31
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560

What question has not been answered yet? The answer to the question in the thread title is a hard NO. You cannot bypass your vpn from terminal.

Last edited by enigma9o7; 12-16-2023 at 03:44 PM.
 
Old 12-16-2023, 07:38 PM   #32
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
The answer to the question in the thread title is a hard NO. You cannot bypass your vpn from terminal.
By your answer that would mean this would go thru the vpn too?
Code:
yt-dlp [YouTube URL]
 
Old 12-16-2023, 07:40 PM   #33
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by linux-man View Post
By your answer that would mean this would go thru the vpn too?
Code:
yt-dlp [YouTube URL]
Of course. How many times do you need to be told the same thing?
 
2 members found this post helpful.
Old 12-16-2023, 08:43 PM   #34
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
One other thing, Nordvpn in particular requires ipv6 not be used/configured.

I guess nordvpn service I have is ipv4 only.

It would not be any good if my system were to use ipv6 dns and dhcp go past or just be wasted cpu cycles, imo.

I use openvpn to launch the config as well.
 
Old 12-16-2023, 09:22 PM   #35
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by linux-man View Post
is /sbin/route the only command that will show if synaptic and terminal are being directed to the vpn tunnel?
No. The 'ip' command also shows routing. Use 'man ip' to see what all that command may do for you.
In fact neither of those commands will tell you anything about the connection path used by the apps you seem concerned about. Only the IP addresses used with those apps & commands will allow answering your routing questions.

Quote:
But not necessarily all traffic?
The routing table will answer that.
Quote:
Is there a way to tell if synaptic and terminal commands are designated for routing via the VPN tun0 device? By defualt does this vary on linux distro's?
The routing table will answer that.

Quote:
So there are two routers and 2 routing tables, one external one connected to wall socket and another within the PC?
The full output of the 'route' command as requested several times above will allow answering all the these questions

Sometimes a tunnel (depending upon the vpn) may get 100% of the traffic. Sometimes it may be a split routing and only some goes thru the tunnel and some uses the normal routing. The full routing info from the route command allows us to answer that.

There are always 2 routing points. The PC has its own internal routing table which is why the 'route' command exists and its data is important. The second routing point is the router on the LAN which is the normal gateway to the internet (or maybe a corporate WAN). The only exception to this I know of is when there is no gateway router and the PC is directly connected to the ISP network or internet which is very rare.
 
1 members found this post helpful.
Old 12-16-2023, 09:28 PM   #36
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by linux-man View Post
Can we use Glenn's to answer my questions?
Absolutely not.
His routing table is for his own PC and his LAN and of course would not show YOUR VPN DATA.

I do not understand why when at least 2 others have shown you their full routing tables from their PC you would still be so reluctant to provide the one NECESSARY bit of information needed so we may hold an intelligent discussion about your original question. Almost 40 back and forth comments, most asking for the necessary info needed for us to answer you, and you still refuse.

We cannot help if you do not give us the information needed to properly answer.

We cannot even tell if your situation is split routing or vpn only.

Last edited by computersavvy; 12-16-2023 at 09:31 PM.
 
1 members found this post helpful.
Old 12-17-2023, 04:16 PM   #37
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GlennsPref View Post
One other thing, Nordvpn in particular requires ipv6 not be used/configured.
I guess nordvpn service I have is ipv4 only.
It would not be any good if my system were to use ipv6 dns and dhcp go past or just be wasted cpu cycles, imo.
What would be the advantage for Nordvpn and their customersto use ipv6 overipv4?

Quote:
Originally Posted by GlennsPref View Post
I use openvpn to launch the config as well.
Why not use their software client for linux?
 
Old 12-17-2023, 06:27 PM   #38
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
/sbin/route will show you the routing table.
Any results from the above command that that start with 10 (ten) e.g.
Code:
10.0.x.x
10.0.x.xxx
10.10.xxx.x
10.10.xxx.xx
(above) Will mean that they are local ip addresses and can not identify your isp provider, is that correct?

Any that starts with something like this:
Code:
123.x.x.x
123.456.7.89
(above) are considered public ip addresses and can be used to identify your location,is that right?
 
Old 12-17-2023, 06:40 PM   #39
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Quote:
Originally Posted by linux-man View Post
What would be the advantage for Nordvpn and their customersto use ipv6 overipv4?

Why not use their software client for linux?
To be honest, I don't know exactly.

Perhaps they have bulk licence on the ipv4 network they use, maybe reduced bandwidth?

Openvpn has the nordvpn blob copied to its config. I haven't tried any other way.

The tutorial I followed helped me set up the vpn, /etc/sysctl.conf and the firewall.

All the best.
 
Old 12-17-2023, 06:53 PM   #40
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
My vpn provider also provides openvpn config file; I use that cuz it doesn't require installing anything nonfree etc, just uses stuff from my distro, and I just check the box to "use vpn with this connection" so it connects automatically.

I guess the advantage of not using some software provided by vpn provider may just that - their software maybe proprietary and you can't audit it? Whereas openvpn plugins for network manager gui is provided by your distro...

If there is an advantage to using their software, they'd have to tell you, dunno what it could be....

Last edited by enigma9o7; 12-17-2023 at 06:54 PM.
 
1 members found this post helpful.
Old 12-18-2023, 10:04 PM   #41
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
...simply post, ...the exact output of your route command...
Code:
$/sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.10.220.53    128.0.0.0       UG    0      0        0 tun0
default         10.0.0.138      0.0.0.0         UG    100    0        0 enp2s0
10.0.0.0        0.0.0.0         255.255.255.0   U     100    0        0 enp2s0
10.10.220.1     10.10.220.53    255.255.255.255 UGH   0      0        0 tun0
10.10.220.53    0.0.0.0         255.255.255.255 UH    0      0        0 tun0
128.0.0.0       10.10.220.53    128.0.0.0       UG    0      0        0 tun0
185.56.24.0     10.0.0.138      255.255.255.255 UGH   0      0        0 enp2s0
Quote:
Originally Posted by sundialsvcs View Post
...and tell us what URL or IP-address you are trying to connect too...
I am trying to connect to youtube.com thru the terminal like this below
Code:
yt-dlp [YouTube URL]
and in the future to my distro's repo via command line (but not at the moment)
 
  


Reply



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
bypass ISP throttling without VPN samiamqqq General 5 11-14-2017 12:38 PM
Allow Plex Media Server traffic to bypass VPN connection English_Man Linux - Networking 3 01-02-2016 10:49 PM
Selective Routing [to bypass VPN for most] ChuckTSI Linux - Networking 1 04-16-2014 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:12 AM.

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