Total de visualizações de página

segunda-feira, 25 de abril de 2016

Proxy Client : CentOS


Proxy Client : CentOS
2014/07/21
 
Configure Proxy Client to connect to the Proxy server.
[1]Configure proxy settings like follows on CentOS Client.
[root@client ~]# 
vi /etc/profile
# add follows to the end (set proxy settings to the environment variables)

MY_PROXY_URL="http://prox.server.world:8080/"
HTTP_PROXY=$MY_PROXY_URL
HTTPS_PROXY=$MY_PROXY_URL
FTP_PROXY=$MY_PROXY_URL
http_proxy=$MY_PROXY_URL
https_proxy=$MY_PROXY_URL
ftp_proxy=$MY_PROXY_URL
export HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy
[root@client ~]# 
source /etc/profile
# it's OK all, but it's possible to set proxy settings for each application like follows.

# for yum

[root@client ~]# 
vi /etc/yum.conf
# add follows to the end

proxy=http://prox.server.world:8080/
# for wget

[root@client ~]# 
vi /etc/wgetrc
# add follows to the end

http_proxy = http://prox.server.world:8080/
https_proxy = http://prox.server.world:8080/
ftp_proxy = http://prox.server.world:8080/
Proxy Client : Windows
 
Configure proxy settings like follows on Windows Client.
[2]For exmaple on Firefox,
Open [Tool] - [Option] and move to [Detail] - [Network] tab.
[3]Check a box "Configure Proxy manually" and input your server's hostname or IP address. It's OK, it's possible to access to the web via proxy server.

Nenhum comentário:

Postar um comentário