Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-13-2005, 07:52 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 6
Rep:
|
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
|
|
|
12-13-2005, 08:35 PM
|
#2
|
Member
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112
Rep:
|
Did you check your Firewall settings?
|
|
|
12-13-2005, 08:37 PM
|
#3
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
12-13-2005, 09:57 PM
|
#4
|
LQ Newbie
Registered: Dec 2005
Posts: 6
Original Poster
Rep:
|
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
|
|
|
12-13-2005, 09:57 PM
|
#5
|
LQ Newbie
Registered: Dec 2005
Posts: 6
Original Poster
Rep:
|
Whoops, sorry my IPTABLES file
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|