If terminal needs to download or upgrade does it bypass my vpn?
If terminal needs to download or update a program does it bypass my vpn ? What about when I use synaptic or yt-dlp in terminal?
What command would I use to check to make sure my terminal is utilizing my vpn? |
My understanding is that, if you are using a VPN, any actions you do should go through the VPN.
|
A "VPN" functionally exists as "a network appliance," covering a specified range of external IP-addresses as specified by the route command. If, and only if, that external address is "covered" by your "route," it will be protected.
Therefore: "all of this is occurring at the network level." It has nothing to do with any particular application. |
Quote:
/sbin/route will show you the routing table. Quote:
|
We have a VPN which works only for our company. So facebook, google, microsoft, debian and other sites work without VPN and also all hosts inside the company are reachable with VPN, in the same time. (something like post #3).
|
In a typical corporate setting, VPN is used to provide a cryptographically-secure "tunnel" to a specified range of IP-addresses, such as 10.8.x.x. These addresses appear as if they are "local," on some "private network." But it is a "virtual private network = VPN." Because the secure connection is made over a public network instead of a purchased piece of wire.
It is possible to arrange for VPN to capture all outbound traffic and send it through the tunnel to "somewhere else" for re-distribution. Some people do this in coffee shops. Some people try to do this to evade firewalls. VPN works by linking into the operating system's "network stack" at one or two specific levels, allowing it to intercept the traffic by routing it through a "virtual network device" which leads to its software. It encrypts or decrypts the traffic and places it back into the network stack for final delivery. In this way, everything is automatically handled, without any further special effort on the part of end-users. The route command will display this "device" as something like tun0, and show you exactly what is being routed to it. VPN can be used in a corporate network as though it were a simple "gateway." Everybody's traffic within the office is routed to one particular machine (or, hardware device) that is running the VPN software. It appears to them to "just" be a router or a switch, and it functions as one. |
Quote:
It is not a browser extension. Quote:
- if terminal command is going thru the vpn client. Do I need to be running a command to gauge that? - if synaptic is/isn't going thru the vpn client? Do I need to be downloading something to gauge that? To gauge the above do I look at which title from the output of command /sbin/route below? Code:
Destination Gateway Genmask Flags Metric ref Use Interface Code:
0.0.0.0 UG 0 0 0 tun0 |
Quote:
|
Quote:
|
Quote:
Quote:
|
You seem to have taken ip addresses out of the output posted from the route command
I have this using "ip route show" Code:
default via 192.168.4.1 dev wlp5s0 proto dhcp src 192.168.4.111 metric 600 Code:
$ route Please redo that and post the full routing table without editing. |
Quote:
|
Quote:
An example of an internal package repository would be a company with it's own repo? I guess individuals can have their own repo's too? Quote:
Synaptic package manager only works thru the gui whether your at work for a company or not? If your at your workplace and you used terminal to download an item from your workplace distro's repo would that go thru the company vpn? If you were at home on your personal computer using a vpn client downloaded onto your linux desktop and you used terminal to download an item from your personal computer's distro's repo would it go thru the vpn? What about your package manager? |
Quote:
- synaptic package manager was not actively downloading/upgrading etc in during the time I got the results for the routing table? - terminal was not downloading or getting anything from external repo when I got the results of the routing table? |
Quote:
The only thing critical is that the vpn should be connected so we can analyze what actually is being done by the routing. Vpn vs the regular routing since the routing table, complete, shows what is directed to which interface. Editing the output hides what the routing is doing and makes analysis impossible. |
All times are GMT -5. The time now is 02:53 AM. |