LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-24-2003, 12:36 PM   #16
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0

You are correct in assuming a problem with the firewall. However at this point I have shut it down. I also noticed that the settings for the firewall are set to "High". When I use "lokkit" to change it to "Medum", it allows me to make the change. But when I go back in with "lokkit", it is still set to "High".

When I installed Red Hat, I opted for the "Medium" setting on the firewall. So how or why is it set to "High"?

Thanks
 
Old 01-24-2003, 12:43 PM   #17
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Your firewall could be getting activated via a script called by rc.local or something like that.

What does the bottom of /etc/rc.d/rc.local look like?

Do you have an rc.firewall script somewhere?

You don't need NAT because your Linksys thingy is doing NAT, not your Linux box.

What does "service --status-all" show... it should show some firewall stuff if its running.

-KevinJ
 
Old 01-24-2003, 02:06 PM   #18
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
The rc.local file has two entries:
1) touch /var/lock/subsys/local
2) /etc/rc.d/rc.firewall-2.4

As stated on line #2 above the firewall script is in "/etc/rc.d/".
As for the results of the "service --status-all"

usage: aep1000 [start|stop|restart|condrestart]
anacron dead but subsys locked
apmd (pid 684) is running...
atd (pid 823) is running...
Configured Mount Points:
------------------------

Active Mount Points:
--------------------
Broadcom BCM5820 init script
Copyright (c) 2001 Broadcom Corporation
usage: bcm5820 [start|stop|restart|condrestart]
crond (pid 774) is running...
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- 206.141.192.60 0.0.0.0/0 udp spt:53 dpts:1025:65535
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:23 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 flags:0x16/0x02
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:1023 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:2049 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6009 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100 flags:0x16/0x02 reject-with icmp-port-unreachable
gpm (pid 765) is running...
httpd is stopped
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- dns1.chcgil.ameritech.net anywhere udp spt:domain dpts:1025:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
irattach is stopped
No status available for this package
lpd (pid 725) is running...
Configured devices:
lo eth0
Currently active devices:
lo eth0
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd is stopped
nscd is stopped
ntpd is stopped
Usage: /etc/init.d/oracle {start|stop|restart}
portmap (pid 632) is running...
master is stopped
The random data source exists
saslauthd is stopped
sendmail (pid 755 745) is running...
snmpd is stopped
snmptrapd is stopped
squid is stopped
sshd (pid 696) is running...
syslogd (pid 610) is running...
klogd (pid 614) is running...
tux is stopped
xfs (pid 805) is running...
xinetd (pid 710) is running...
ypbind is stopped
 
Old 01-24-2003, 02:12 PM   #19
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Okay... so I would just comment out that line in rc.local calling the firewall script,

then make sure that "chkconfig --list iptables" shows OFF for all run levels, then reboot and give HTTP a try again.

-KevinJ
 
Old 01-24-2003, 02:47 PM   #20
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I went ahead and commented out the call to the firewall line.
I then ran "chkconfig --list iptables". It returned "off" for all. I re-booted then I tried mozilla. It again timed out. I then tried "lynx".
It also came back with the same results as it did on the message from a few posts back. It basically said that it encounterd a network error.

Javier
 
Old 01-24-2003, 02:50 PM   #21
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
what does "service --status-all" show now?

-KevinJ
 
Old 01-24-2003, 03:06 PM   #22
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Just out of curiosity... do you get anything when you type:

service iptables status

or

service ipchains status

?

If you do, try as I said before.... "service iptables stop" or "service ipchains stop"



-KevinJ

Last edited by KevinJ; 01-24-2003 at 03:08 PM.
 
Old 01-24-2003, 03:07 PM   #23
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Here are the contents:

iptables 0ff 1ff 2ff 3ff 4ff 5n 6ff

usage: aep1000 [start|stop|restart|condrestart]
anacron dead but subsys locked
apmd (pid 685) is running...
atd (pid 824) is running...
Configured Mount Points:
------------------------

Active Mount Points:
--------------------
Broadcom BCM5820 init script
Copyright (c) 2001 Broadcom Corporation
usage: bcm5820 [start|stop|restart|condrestart]
crond (pid 775) is running...
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- 206.141.192.60 0.0.0.0/0 udp spt:53 dpts:1025:65535
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:23 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 flags:0x16/0x02
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 flags:0x16/0x02
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:0:1023 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2049 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:2049 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6009 flags:0x16/0x02 reject-with icmp-port-unreachable
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100 flags:0x16/0x02 reject-with icmp-port-unreachable
gpm (pid 766) is running...
httpd is stopped
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- dns1.chcgil.ameritech.net anywhere udp spt:domain dpts:1025:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
irattach is stopped
No status available for this package
lpd (pid 726) is running...
Configured devices:
lo eth0
Currently active devices:
lo eth0
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd is stopped
nscd is stopped
ntpd is stopped
Usage: /etc/init.d/oracle {start|stop|restart}
portmap (pid 633) is running...
master is stopped
The random data source exists
saslauthd is stopped
sendmail (pid 756 746) is running...
snmpd is stopped
snmptrapd is stopped
squid is stopped
sshd (pid 697) is running...
syslogd (pid 611) is running...
klogd (pid 615) is running...
tux is stopped
xfs (pid 806) is running...
xinetd (pid 711) is running...
ypbind is stopped


Please note the first line shows the results from
"chkconfig --list iptables"
 
Old 01-24-2003, 03:13 PM   #24
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
well.. your firewall is running and thats probably what is causing the problem. I have given you all the suggestions I have for stopping it.

I don't know what else to do.

-KevinJ
 
Old 01-24-2003, 03:20 PM   #25
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by KevinJ
Just out of curiosity... do you get anything when you type:

service iptables status

or

service ipchains status

?

If you do, try as I said before.... "service iptables stop" or "service ipchains stop"



-KevinJ
______
The result to "service iptables status" follows:

Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Lokkit-0-50-INPUT (1 references)
target prot opt source destination
ACCEPT udp -- dns1.chcgil.ameritech.net anywhere udp spt:domain dpts:1025:65535
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable


This is most likely the problem, but where could it be getting this values from? I have the firewall line commented from the "rc.local" file.
 
Old 01-24-2003, 04:08 PM   #26
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
If "service iptables stop" doesn't clear that up... I have no idea what could be the problem.

-Kevin
 
Old 01-24-2003, 04:30 PM   #27
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
I was poking around my box after your last message. While looking around, I found "Konqueror" so I gave it a try. I did not make any changes. I am using it as it was installed. I am able to surf the web without any problems.

That means the problem is not the firewall the problem is with mozilla. I am considering removing mozilla and re-installing it one more time.

Thanks for all the help.

Javier
 
Old 01-24-2003, 05:02 PM   #28
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
But why the heck wouldn't Lynx work? That's weird.

-KevinJ
 
Old 01-24-2003, 05:08 PM   #29
Javier
LQ Newbie
 
Registered: Dec 2002
Posts: 14

Original Poster
Rep: Reputation: 0
That is one for the books.
 
  


Reply



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
problem iptables stomach Linux - Software 3 09-22-2005 02:21 PM
problem with iptables Israfel2000 Linux - Security 3 07-18-2004 12:30 AM
iptables problem bhagat_panwar Linux - Software 0 08-27-2003 06:45 AM
iptables problem? poulaum Linux - Networking 12 02-27-2003 03:57 PM
Problem with IPTABLES jfall Linux - Networking 3 11-04-2002 03:10 PM

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

All times are GMT -5. The time now is 08:09 PM.

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