Re: Variable in iptable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 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.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux