LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Computer will no longer access the internet (https://www.linuxquestions.org/questions/linux-networking-3/computer-will-no-longer-access-the-internet-558854/)

jleaker 06-03-2007 02:12 PM

Computer will no longer access the internet
 
I had a kid doing things they werent supposed to be doing, so I decided to try to block access to certain websites. I followed the directions at http://software.newsforge.com/softwa.../1521209.shtml to the letter, but when I was finished all access to the net was blocked. I uninstalled squid and dansguardian, but still wont connect. I'm guessing it has something to do with the iptable commands I entered. Anyone know how to reset it back to how it was before?

The only thing I miss from winblowz (of which I havent used in months) is 'System Restore'...when you are a newb it's not hard to mess up your install, and having to do a complete reinstall every time you screw up (and cant figure out how to fix it) really sucks.

camh 06-03-2007 02:20 PM

'iptables -F' will delete all rules in all chains.

jleaker 06-03-2007 02:24 PM

Done...no effect.

jleaker 06-03-2007 02:25 PM

oh and I did do 'service iptables restart' as well

camh 06-03-2007 02:28 PM

Can you post the output of iptables (iptables -L -vn)? Or if not, do any of the iptables chains have a default policy of DROP ?

jleaker 06-03-2007 02:31 PM

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 DROP all -- * * 204.15.20.25 0.0.0.0/0
0 0 DROP all -- * * 204.74.67.247 0.0.0.0/0
0 0 DROP all -- * * 204.74.66.247 0.0.0.0/0
0 0 DROP all -- * * 216.178.32.48 0.0.0.0/0
0 0 DROP all -- * * 72.36.220.239 0.0.0.0/0
0 0 DROP all -- * * 72.36.220.234 0.0.0.0/0
0 0 DROP all -- * * 72.36.220.235 0.0.0.0/0
835K 42M RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT 837K packets, 111M bytes)
pkts bytes target prot opt in out source destination

Chain RH-Firewall-1-INPUT (2 references)
pkts bytes target prot opt in out source destination
6 300 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 255
0 0 ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT ah -- * * 0.0.0.0/0 0.0.0.0/0
6 1173 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
36 6984 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:631
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
835K 42M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2049
1 44 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
29 2550 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:137
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:138
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:139
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:445
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
1 44 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5900
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5902
2 904 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

camh 06-03-2007 02:37 PM

Everything looks ok.. Can you ping anything on the net? (google.com for example?) Did you remove the proxy setting in your browser so it doesn't point to the (nonexistant) squid server?

jleaker 06-03-2007 02:48 PM

Yea...ping works..it must be something to do with Firefox then...I didnt actually do anything in FF tho, only what was listed at the URL. I checked and FF is not set up to use a proxy, it is set up to directly access the internet.

jleaker 06-03-2007 02:52 PM

It also seems to have problems connecting to the software repositories. I am unable to use Yum at all (Im using FC6) to remove firefox (was going to try to reinstall it). GUI package manager says it is unable to retrieve software information due to lack of a network connection.


All times are GMT -5. The time now is 03:25 AM.