Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can it harm my system to block all traffic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Miike
n00b
n00b


Joined: 06 Dec 2003
Posts: 50

PostPosted: Tue Dec 16, 2003 10:03 am    Post subject: can it harm my system to block all traffic Reply with quote

When I set up a Firewall (iftables) the guides say to start to block
everything by default and after that allow the stuff that needs to be
allowed.

My question is:
Can it harm my system to deny everything in the first step ?
Since some components are internaly communicating with each other with
a network connection. (Loopback device) and so on...

Or doesnt my system care when I deny everything?

Thanks.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Tue Dec 16, 2003 10:46 am    Post subject: Reply with quote

Just add the rule
Code:
$IPTABLES -A INPUT -i lo -j ACCEPT
and possibly the same for FORWARD and OUTPUT but then with -o instead of -i, depending on how you set up FORWARD and OUTPUT filtering.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum