You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
Proxy settings

Author (Read 2109 times)

0 Members and 4 Guests are viewing this topic.

Proxy settings
« on: February 15, 2021, 02:48:35 AM »
 

Amila perera

  • New to Forums
  • *
  • 2
    Posts
  • Country: lk
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.2 64bit
How do i manually configure proxy settings here. I'm using pdanet to share my mobile unlimited internet connection.for now i'm using this net connection only in Firefox by changing its proxy settings.but it would be really helpful if i could use this network connection in the entire os. Ubuntu has a GUI for this task  and i don't know how to get this done in our xfce environment.can you guys help me?
Last Edit: February 15, 2021, 02:51:11 AM by Amila perera
 


Re: Proxy settings
« Reply #1 on: June 01, 2021, 06:36:21 PM »
 

b930306625

  • Occasional Poster
  • **
  • 80
    Posts
  • Country: fr
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.8 64bit

  • CPU: i5

  • MEMORY: 8Gb

  • VIDEO CARD: nividia
A proxy is basically a way to mask the origin of a connection. Basically, you drive to work but instead of taking the direct route, (A to B), you add another point in between, (A to C to B). So anyone who sees you on the way to work will see you coming from C and not from Tutuapp 9Apps Showbox A.
Last Edit: June 02, 2021, 06:53:51 AM by b930306625
 

Re: Proxy settings
« Reply #2 on: June 02, 2021, 08:33:00 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 71
    Posts
  • Country: au
  • Reputation: 5
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: J3455
How do i manually configure proxy settings here.

You have to set environment variables to the appropriate values to get this to work, and add appropriate references to some other config files because there is no completely standard way to deal with this properly in Linux (or any other Unix like OS for that matter :().

Where you set these variables will affect their coverage:
- if you set them in your shell .rc file that will cover your login but not others
- if you set them in /etc/environment, that will cover all GUI logins but not ssh sessions...
etc.  Pick your poison :(, though the latter is what I use.

The variables to set include http_proxy, https_proxy and ftp_proxy (e.g. if you ever use FTP sites via a browser) and also the upper case versions for good measure.  Some code expects on a specific case variation  ::).

If apt doesn't work with the environment variables you've set (and it doesn't usually for me  ::)) you'll need to add or modify /etc/apt/apt.conf - you'll need to read some apt documentation to get the correct incantation.

Similarly I've had to add specific support to my .gitrc to have git respect a proxy... (and also to alias git:// URLs to https:// or http:// URLs as well).  There may be other applications which can only be properly configured with their native configuration files too.

Ubuntu has a GUI for this task  and i don't know how to get this done in our xfce environment.can you guys help me?
I doubt any of the distros that claim to be able to support proxies globally work for everything other than the standard browsers - there's just too little standardisation in too much code about interpreting those environment variables in my experience.  It also won't support the automatic configuration protocols that exist that can specially treat a variety of URLs with multiple proxies (e.g. this).

The user experience is usually much more consistent on Windows/MacOS, but it's not perfect there either.
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements