Rocky_Linux_8
Sponsored Link

Proxy Client : Rocky Linux2021/08/05

 
Configure Proxy Clients to connect to the Proxy server.
[1] Configure proxy settings like follows on Rocky Linux Client.
[root@client ~]#
vi /etc/profile.d/proxy.sh
# create new (set proxy settings to the environment variables for System wide)

MY_PROXY_URL="prox.srv.world:3128"

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.d/proxy.sh
# or it's possible to set proxy settings for each application, not System wide

# for [dnf]

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

proxy=prox.srv.world:3128
# for [curl]

[root@client ~]#
vi ~/.curlrc
# create new

proxy=prox.srv.world:3128
# for [wget]

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

http_proxy = prox.srv.world:3128
https_proxy = prox.srv.world:3128
ftp_proxy = prox.srv.world:3128
Proxy Client : Windows
 
Configure proxy settings like follows on Windows Client.
[2] For exmaple on Chrome.
It does not need to set specific setting for Proxy if you set it on Windows System wide.
This is for the case you set Proxy on Chrome only, not set on Windpws.
Open property of Chrome and add startup option [--proxy-server=(proxy server):(proxy port)] like follows.
Matched Content