Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to this

Status
Not open for further replies.

pcs800

IS-IT--Management
Apr 9, 2002
339
US
I have recently ousted a windows 2000 server and replaced it with a Redhat linux 8.0 server.
We use it as a proxy for the network. And it also is our web server.
I can not get it to let FTP pass through. I can FTP into it but not through it.
I have set (what i thought) all the proper ports to be opened in linux firewall.
I use webmin to access the server for configuration.
know this is vague, but as i stated, I am new at linux.
Any ideas?
 
we do use squid. does that mean it won't allow ftp to go through?
 
I forgot to mention, FTP will pass through the proxy by IP address, just not by name.
ftp://blah.com will not work
but ftp://123.456.789.0 will work
 

Looks like the server doesn't know which DNS to ask.
What in /etc/resolv.conf??

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Name service is the culprit as morsing has said, and
itlooks like a client side issue since, presumably,
your proxy has no trouble resolving names for
clients.
 

I'd say the server has the problem. All the client does is send the request to the server with the IP number or name.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Ok, i fixed it (kinda)
We have a win2k server that is supplying dhcp to the network, I had to define a dns address on this machine for the client machines.

Now, a different variation of the problem:
I can not go to a website (example: hp.com) and download a driver or whatever file that is supplied via ftp://
And if i try to ftp to certain sites with IE or a client ftp program, I get 502 illegal port command.
Is this a linux firewall or squid issue?
 
pcs800,
It sounds like you have an http proxy in front of
network of privately addressed machines that use
it for all access to the www.
Unfortunately this only works for http.

If this is so then:
I again suggest you look into a ftp proxy and realize
that using a browser for your ftp client will require
additional client side browser configuration.
Otherwise you are looking at a bastard mix of nat and
proxies. I've encountered this before working with
a novell/linux network and don't suggest it just for simplicity and security sake.


Good Luck



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top