Hi Jeff

Am 05.03.2015 um 17:48 schrieb Jeff Delinck:
> Shorewall is just a front end to IPtables. It would be easy enough to
> just issue the iptables command to add that in temporarily.
> 
> iptables -I net2fw -p tcp --dport 80 -j ACCEPT

Of course, as long as shorewall keeps its naming scheme that would
probably work. I was hoping there was a command like DROP for blacklisting.

> 
> (or fw2net depending on the direction desired) Use
> 
> iptables -nL --line-numbers
> 
> to find your rule, Then use
> 
> iptables -D net2fw #
> 
> To delete the rule (replacing # with your rule. Probably 1, though.)

You cannot be sure that noone plays with rules in the meantime, but that
would be just as true for a shorewall command.

Thanks

Erich

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to