Results 1 to 2 of 2
Hi,
I have a Linux server (CentOS v5), now I want the internet connection of this server is through a proxy (not direct to internet). Can anyone help me please.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-02-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 1
Linux connect though a proxy
Hi,
I have a Linux server (CentOS v5), now I want the internet connection of this server is through a proxy (not direct to internet). Can anyone help me please.
Thank you,
cheers
- 10-02-2008 #2
Proxy
To allow your server to access internet via a proxy, Add the following line to the ~/.bashrc
export http_proxy=http://<proxy>:<port>/
If you need a username & password to access the proxy add the following to the ~/.bashrc
export http_proxy=http://<username>:<password>@<proxy>:<port>/


Reply With Quote
