In this post, we will describe how to connect linux server to internet through proxy without authentication.
1.Firstly, we need to add this couple of line to use proxy for http, https and ftp:
Export http_proxy=http://10.10.10.1 :8080Export https_proxy=http//10.10.10.1 :8080
Export ftp_proxy=http://10.10.10.1 :8080
Where 10.10.10.1 is proxy IP and 8080 is listening port.
2.Open the squid.conf file to add the authorization of the server
Vi /etc/squid3/squid.conf################# Object Definition######################
Acl network_server 192.168.1.1
#################Authorization List######################
http_access allow network_server
3.After modifying the file squid.conf, we need to save modification and reload squid process
/etc/init.d/squid3 reload
4-Once reloaded, we cill check if squid process are working correctly
Proxy# ps aux | grep squid