LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2005, 07:52 PM   #1
chrisj05
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
Can Surf - but cannot ping/ftp/mail etc


Hi guys, Hope somebody can help me. I have set up a RH9 server at work. I have (win) machines on an internal network running 192.168.5.x tcp etc. These machines go though the RH9 machine to access the outside world. The problem is that these machines can (only)surf the Web. If I try to ping an outside address I get no reply, (They can ping the gateway and get a reply), if I try to pick up mail from an outside mail server, the mail client tells me that the server has terminated the connection and I cannot FTP.

I am reasonably confident that I have an incorrect setting (or something) in the new machine. The reason I beleive this, is that the new machine is a replacement for another machine that was running RH7.2 (on which the HD is slowly dieing). When I put the old machine back on, I dont have any of the above problems. I have looked at the settings on the old machine and they 'appear' to be the same. I have stopped/started IPTABLES and Squid on the new machine, but nothing seems to fix the problem.

Any help appreciated (yesterday I had black hair, today it suddenly white!)

Cheers

Chris
 
Old 12-13-2005, 08:35 PM   #2
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
Did you check your Firewall settings?
 
Old 12-13-2005, 08:37 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Can you post your iptables ruleset? This is the most likely cause of the problem you have described. You probably have a rule like:
Code:
iptables -A FORWARD -p tcp --dport 80 -j ACCEPT
This would allow outbound port http on port 80.
 
Old 12-13-2005, 09:57 PM   #4
chrisj05
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Hi guys, Here is my IPCHAINS file. (As mentioned I have tried stopping/starting this service)but to no avail ...

INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A FORWARD -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
#-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth1 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 203.32.160.10 --sport 53 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 203.32.166.10 --sport 53 -d 0/0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --syn -j REJECT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT
COMMIT

Cheers
 
Old 12-13-2005, 09:57 PM   #5
chrisj05
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Whoops, sorry my IPTABLES file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very slow ftp download as well as web surf mydoctor Linux - Networking 1 07-25-2005 11:30 AM
LAN client can surf but not ping ? Biased turkey Mandriva 8 01-19-2005 08:48 PM
Bizzare: can surf, can't ping local Net. P_Shep Linux - Networking 6 11-11-2004 12:12 PM
how to enable ping,mail,ftp on my squid jcb_dreamvsat Linux - Software 0 07-04-2004 02:14 AM
Suse 9.1 (crippled version) unable to ping but able to surf l1fe Linux - Newbie 4 06-30-2004 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration