Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am a big fan of Fedora 11. Also, I am using wireless broadband USB to access internet. For the sake of practising Iptables, I configured my Iptables as the following:
# Generated by iptables-save v220.127.116.11 on Sat Jan 16 16:50:19 2010
:INPUT DROP [49:5544]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [50:2918]
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.1/32 -p tcp -m tcp --tcp-flags FIN,SYN,ACK FIN,SYN,ACK -j AC
-A INPUT -d 127.0.0.1/32 -p tcp -m state --state RELATED,ESTABLISHED -j
-A INPUT -d 127.0.0.1/32 -p tcp -m state --state NEW -m tcp --sport 80 -
-A INPUT -d 127.0.0.1/32 -p tcp -m state --state NEW -m tcp --sport 443
-A INPUT -d 127.0.0.1/32 -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -d 127.0.0.1/32 -p icmp -m icmp --icmp-type 11 -j ACCEPT
-A INPUT -d 127.0.0.1/32 -p icmp -m icmp --icmp-type 0 -j ACCEPT
# Completed on Sat Jan 16 16:50:19 2010
When I use "service iptables stop". I can access internet. But when I start iptables, I couldn't access internet. Then I use this command "netstat -ant" to check if there is anything blocking access to internet. And this is the result:
It seems like there is something wrong with my iptables configuration but I am at my wit's end. I couldn't figure out why I couldn't access internet with my iptables on. And I am also Linux newbie. Any help would be appreciated.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Currently you allow "-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT" from your loopback device (127.0.0.1 aka "lo") but not your wireless network device. Check the output of ifconfig and iwconfig to find the devices name. Also please search LQ of "iptables" as we've got quite some threads by now listing rulesets you could read and use after modification.