Bypass Censorship by Proxy
Instead of going straight ahead to the destination address the packets turns around to the proxy server and processed there before going to the original destination. I use it because the connection in my country here doesn't allow direct contact with certain sites, in short, blocked or censored. Ofcourse it won't work also if the destination is blocked by the proxy server or to the proxy server itself is blocked.
Borrowing Web Proxy
Borrowing a web proxy is the next simple step to changing DNS. In this section is posted not the technical stuff but introduce web proxies available on the web. Below are steps of example web proxies or skip and go further below to watch the video.
Borrowing Network Proxy
While web proxies are hosted on webpages as interfaces, netwrok proxies are usually in form of IP addresses and ports. You need to find your proxy configuration in your browsers or operating systems to input the proxies' IP addresses and ports. Below are examples in Windows:
If you want to set them through command line (cmd) then try the following commands:
set HTTP_PROXY=http://proxy_userid:proxy_password@proxy_ip:proxy_port set FTP_PROXY=%HTTP_PROXY% set HTTPS_PROXY=%HTTP_PROXY%
Set them empty if you want to stop using proxy:
set HTTP_PROXY= set FTP_PROXY= set HTTPS_PROXY=
Setting Proxy in Linux
If you want to do it from terminal, then write the following into "/etc/environment":
http_proxy="http://:@:/" https_proxy="http://:@:/" ftp_proxy="http://:@:/" no_proxy="localhost,127.0.0.1,::1"
Setting Proxy in Android
Building Proxy Server Linux
I used "squid" as my proxy server on Debian Linux. Install squid server:
sudo apt install squid sudo cp /etc/squid/squid.conf /etc/squid/squid.conf.original
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid3/passwords auth_param basic realm proxy acl authenticated proxy_auth REQUIRED http_access allow authenticated
Restart squid server:
sudo htpasswd -c /etc/squid3/passwords username_you_like
Leave a Reply.
old source code