Re: internet access via proxy server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-11-30 at 17:59 -0500, Dave Lester wrote:
> > ------------------------------
> >
> > Message: 3
> > Date: Thu, 30 Nov 2006 17:14:11 +0800
> > From: "Art Fore" <art.fore@xxxxxxxxx>
> > Subject: Re: internet access via proxy server
> > To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
> > Message-ID:
> > 	<102c2a980611300114l4a60eee6hd95587a20dae7f31@xxxxxxxxxxxxxx>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I am trying to add software and/or update, but machine cannot reach
> > internet. I know about the proxy for the browser, but setting it still does
> > not help even the web browser. I cannot even ping my desktop machine from
> > the server machine, but I can ping the server from the desktop and I can use
> > NX an/or SSH from the desktop to the server machine. The other machines in
> > the office can also access the samba shares on the server with windows.
> >
> > Art
> >
> >   
> 
> On my linux server at work, I use the following:
> 
> In /etc/profile.d I have a file called proxy.sh
> 
> The contents of proxy.sh look like this:
> 
> #proxy.sh
> export http_proxy=http://username:password@myprosyserver:port/
> export ftp_proxy=http://username:password@myprosyserver:port/
> export no_proxy=http://username:password@myprosyserver:port/
> export HTTP_PROXY=http://username:password@myprosyserver:port/
> export FTP_PROXY=http://username:password@myprosyserver:port/
> 
> chmod 755 proxy.sh to set it executable.
> 
> I use yum with this and it works great. You might have to fiddle with 
> the settings if you don't use username/password authentication on your 
> proxy server.  Also, you should check in /etc/bashrc for this for loop:
> 
> for i in /etc/profile.d/*.sh; do
>         if [ -r "$i" ]; then
>             . $i
>     fi
>     done
> 
> 
> If you don't have this, you will need to add it so that the proxy.sh is 
> called when bash starts up.
> 
> Hope this helps!
> 
Thanks for the info. Will try that this morning when I go to work in
about an hour and a half.

Art

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux