Quicktables

From ArchWiki

Jump to: navigation, search

Contents

Quicktables

Quicktables is an iptables ruleset generator, a great tool for generating rules for iptables.

Install progress

Just follow this easy steps to get a fully working iptables setup.

Fetch iptables

$  pacman -Sy iptables

Fetch/Extract Quicktables

$ cd /home/user/temporary/
$ wget http://qtables.radom.org/files/quicktables-2.3.tar.gz
$ tar xvvf quicktables-2.3.tar.gz

Start iptables as a daemon at boot

$ su 
$ nano /etc/rc.conf
Add iptables to the daemon line:
DAEMONS=(syslog-ng iptables network netfs crond slim)
$ /etc/rc.d/iptables start
$ exit (To get out of su)

Generate Rules With Quicktables

$ cd quicktables-2.3
$ ./quicktables-2.3
Now follow whats shown in the console ;)


Applying the rules

$ su
$ ./rc.firewall 
$ /etc/rc.d/iptables save

Done

Just restart your computer, if you have done everything right you will now have a fully configured iptables setup.

Personal tools