Re: Variable in iptable

From: sauron@lug.stikom.edu
Date: 06/08/02


From: sauron@lug.stikom.edu
To: security-discuss@linuxsecurity.com
Date: Sat, 8 Jun 2002 12:50:15 +0700 (JAVT)


> Hello,
>
> is possible definied variable in iptables rule, example:
>
> $user="blueuser";
>
> iptables -A input -s $user -d 0/0 -j ACCEPT
it depends on how you invoke the command, if its on a shell
it will be filled by the variable defined, and in short answer yes

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.