felix@xxxxxxxxxxx a écrit :
On Thu, Sep 07, 2006 at 03:37:33AM +0200, Pascal Hambourg wrote:
felix@xxxxxxxxxxx a ?crit :
I've used table names with iptables commands in my shell scripts, but
I didn't know this /etc/iproute2 directory existed.
Huh ? AFAIK, iptables commands do not use routing tables. Can you give
an example ?
I am showing my newbie status. Maybe I meant chain names?
Someone using user-defined iptables chains cannot be a newbie. :-)
Here is a
snippet I use to enable and disable ssh, with SSH being a table?chain?
name I can use in another script:
iptables -N SSH
Here "SSH" is a user-defined iptables chain in the default iptables
table ("filter"). Routing tables and /etc/iproute2 are totally
independant from iptables.