Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.88 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.88 KB

NITS LAN Proxy

Proxy Address :  172.16.199.40
Proxy Port    :  8080

Ubuntu

Head to settings and open network. Set network proxy to manual, and configure the proxy as following

HTTP Proxy: 172.16.199.40:8080
HTTPS Proxy: 172.16.199.40:8080

To avoid running into errors, export proxy environment variables.

File : .bashrc file in your home directory (hidden file)

Edit the file and export these proxy environment variables

export HTTP_PROXY=http://172.16.199.40:8080
export HTTPS_PROXY=http://172.16.199.40:8080

To use apt/apt-get behind the proxy, configure the following file:

File : /etc/apt/apt.conf

If the file doesn't exist, create it and add these two lines in the apt.conf file:

Acquire::http::proxy "http://172.16.199.40:8080/";
Acquire::https::proxy "http://172.16.199.40:8080/";

Note: Don't confuse apt.conf.d with apt.conf

Even after this some CLI tools may not work because they don't use the environment variable proxy.
Just do a google search to find how to use xyz behind proxy, or go through the tool's documentation.

Router

Add the network gateway IP in ignore list to access you router configuration interface.

WhatsApp Mobile

WhatsApp doesn't use network proxy settings and there's no configuration in the app to set a proxy
so you'll have to use a 3rd party proxy or VPN app. Some free apps include

College Proxy
openVPN
ProxyDroid(root needed)

Telegram

Telegram desktop apps have proxy configuration options built-in.
Telegram mobile app has the option to set only SOCKS5 and MTProto proxy.
To configure http proxy, use Telegram X.