Displaying 3 results from an estimated 3 matches for "sbinipt".
Did you mean:
dbinit
2016 May 23
2
/etc/sysconfig/iptables syntax
?????? 23 ???? 2016 05:56,? "Mike" <1100100 at gmail.com> ???:
>
>
> After using iptables for a long time, I can't figure out where this syntax
> comes from.
> Can anyone point me in the right direction to understand the proper syntax
> necessary in /etc/sysconfig/iptables?
>
The syntax comes from the output of the 'iptables-save' command.
You can
2016 May 23
1
/etc/sysconfig/iptables syntax
>
> If I'm understanding correctly, write out all rules in a bash terminal and
> run them, and then do /usr/sbin/iptables-save ---
>
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbiniptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbiniptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbiniptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbin/iptables rule;
> ~#/usr/sbiniptables rule
>...
2016 May 23
0
/etc/sysconfig/iptables syntax
...nit file though.
>
> HTH,
> Barak _______________________________________________
>
Hi Barak,
If I'm understanding correctly, write out all rules in a bash terminal and
run them, and then do /usr/sbin/iptables-save ---
~#/usr/sbin/iptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbiniptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbiniptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbiniptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbin/iptables rule;
~#/usr/sbiniptables rule
~#/usr/sbin/iptables-save > /etc/sysconfig/ip...