Sinisterly
Hi, im looking for a way to proxy on linux - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Operating Systems (https://sinister.ly/Forum-Operating-Systems)
+--- Thread: Hi, im looking for a way to proxy on linux (/Thread-Hi-im-looking-for-a-way-to-proxy-on-linux)



Hi, im looking for a way to proxy on linux - xinjian - 08-05-2014

Hi, im xinjian.

Im wondering if there is a way to proxy everything through the terminal or config file in linux? like a system-wide proxy setting that extends the proxy connection to the whole pc (browser, apt-get, ping etc).

Peace.


RE: Hi, im looking for a way to proxy on linux - h3r0 - 08-05-2014

Hello and welcome to HC

Normally this section is reserved for introductions and your question is easily answered via google, but I'll write this up for you.


Firstly I'm assuming you're in Ubuntu(Because of the whole apt-get) with unity (Same works with Gnome <3)..

1] You want to start by opening the unity dashboard and searching for "System", click on "System Settings"
[Image: InugeqE.png]

2] From the system settings page click on "Network"
[Image: e37uGvf.png]

3] On the network page you want to click on "Network Proxy" in the left column, then select manual from the drop down. After this input your proxy settigns and click on the "Apply System Wide" button.
[Image: 0FG1oxW.png]


I hope this quick answer encourages you to stay on the forum and learn some things and sooner or later teach things too!


Welcome to HC.


RE: Hi, im looking for a way to proxy on linux - xinjian - 08-05-2014

Thanks for quick reply.

Im actually on chrinchbang (debian-ish)

which packages do i install to get the same tools? do u have to install the whole gnome desktop? or is this an ubuntu only thing?

peace


RE: Hi, im looking for a way to proxy on linux - chmod - 08-05-2014

(08-05-2014, 10:33 PM)xinjian Wrote: Thanks for quick reply.

Im actually on chrinchbang (debian-ish)

which packages do i install to get the same tools? do u have to install the whole gnome desktop? or is this an ubuntu only thing?

peace

I assume you mean crunchbang? you could try something like proxydriver or proxychains which should allow you to achieve what you want, but personally I think you'd be better off with a VPN


RE: Hi, im looking for a way to proxy on linux - h3r0 - 08-05-2014

(08-05-2014, 10:33 PM)xinjian Wrote: Thanks for quick reply.

Im actually on chrinchbang (debian-ish)

which packages do i install to get the same tools? do u have to install the whole gnome desktop? or is this an ubuntu only thing?

peace

I have never heard of chrinchbang and googling it only shows an image board thread..

But what do you use as a desktop environment(If any)?

Any who I think this might help..

https://wiki.archlinux.org/index.php/proxy_settings#Environment_variables

It's actually pretty cool.


RE: Hi, im looking for a way to proxy on linux - Singularity_mybb_import13102 - 08-05-2014

#! (Crunchbang) is a debian derivative just like Ubuntu, Kali Linux, and more. The package manager may be the same, but what comes on the OS is not.

I would recommend you install tor and proxychains.
After you install these, edit the /etc/proxychains.conf file and add tor (and I also advise you add a public proxy at the end (find some good sock4 proxies at hidemyass)
So your setup will look something like this in proxychains.conf:

Code:
[ProxyList] socks4 127.0.0.1 9050 # This is tor, 9050 is the default port # Here we use a public proxy, because some services recognize and block tor, so we first route through tor, and then into a public proxy socks4 123.456.78.90 3128 # This would be a public socks4 proxy

To test if everything is working and routing correctly, we can try proxychains with curl
Code:
proxychains curl http://ipecho.net | grep '<h1>' | cut -d '>' -f 2 | cut -d '<' -f 1

There are plenty of tutorials online that can show you how to install both tor and proxychains. If you need anymore help, feel free to reply.


RE: Hi, im looking for a way to proxy on linux - xinjian - 08-05-2014

(08-05-2014, 10:43 PM)chmod Wrote:
(08-05-2014, 10:33 PM)xinjian Wrote: Thanks for quick reply.

Im actually on chrinchbang (debian-ish)

which packages do i install to get the same tools? do u have to install the whole gnome desktop? or is this an ubuntu only thing?

peace

I assume you mean crunchbang? you could try something like proxydriver or proxychains which should allow you to achieve what you want, but personally I think you'd be better off with a VPN

lol. yeah, chrunchbang. sry brainfart. proxychains only does one program each time, if im correct... i was thinking of proxying my whole internet connection at once so to speak... i looked at /etc/local config and it didnt seem to do anything

ill take a look at proxydriver.

peace


RE: Hi, im looking for a way to proxy on linux - Deque - 08-09-2014

-thread moved-
The introduction section is only for introductions.