www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Firewall versus iptables

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
rsiera



Joined: 12 Jan 2012
Posts: 13

PostPosted: Mon Sep 16, 2013 6:43 am    Post subject: Firewall versus iptables Reply with quote

I came across this very interesting blog post on a pattern how to use the firewall and its chains. http://www.lammertbies.nl/comm/info/iptables.html
As a Linux newbie I tried to figure out the relation between those instructions in post (I assume they are iptable instructions?) and the zeroshell firewall interface. Can anyone help to clarify that relation?

a) The instructions in the above blog post are they iptable instructions?

b) When I issue this in the shell
Quote:
iptables -A Bogus -s 172.16.0.0/12 -j DROP
should I be able to see that in the interface?

c) If I should be able to see it, well, I don't. Is that because of the naming of chain (case sensitive?)

d) Where are those iptable rules stored?

e) Which shell search instruction could I have used to answer question d) myself?

f) If these instructions cannot be seen in the interface, is it possible to recreate them via the interface? For example these ones I find very usefull:
Quote:
-A Always -i lo -j ACCEPT
-A Enemies -m recent --name psc --update --seconds 60 -j DROP
-A Enemies -i ! lo -m tcp -p tcp --dport 1433 -m recent --name psc --set -j DROP
Back to top
View user's profile Send private message
rsiera



Joined: 12 Jan 2012
Posts: 13

PostPosted: Tue Sep 17, 2013 3:12 pm    Post subject: Reply with quote

Ok, I figured it out myself (I think).
I think I can use the "IPTABLES Parameters" option.
And I just have to omit the "-A <chain>" bit. Right?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell 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


Powered by phpBB © 2001, 2005 phpBB Group