My OS id suse 11.0. I`ve noticed that after a very small periods of time ( ~days) my iptables reinitialize since all changes I made in the INPUT chain disappear. Obviously I did not switch of my computer between the checks.
If you want changes to be persistent you should set them in Yast under
Yast: Security and Users: Firewall. With that done regardless of if the
firewall is brought up or taken down it will have the settings you desire.
Otherwise the firewall is only changed during startup/shutdown and also
probably if you change networks (wireless, for example).
Good luck.
genesup wrote:
> Hello,
>
> My OS id suse 11.0. I`ve noticed that after a very small periods of
> time ( ~days) my iptables reinitialize since all changes I made in the
> INPUT chain disappear. Obviously I did not switch of my computer between
> the checks.
>
> Do you have any ideas on how to disable that?
>
> Thank you for your time.
> Dimitry
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
The problem is that I use a script to edit iptables to block ips that try to pick up my password. How could I communicate with iptables via yast using a script? Is this a straightforward task?
Yast stores its information in /etc/sysconfig/SuSEfirewall2 and similar
files so you could have your script modify those files explicitly and then
any reinitialization of the firewall would go that route. If you have the
default firewall completely disabled (and by that I mean you have disabled
the SuSEfirewall2 service and replaced it with your own calls to
‘iptables’ (NetFilter) so it’s the same firewall but now it’s your own
control of it) I don’t know why you would be seeing what you are seeing
necessarily.
Good luck.
genesup wrote:
> Thank you for the tip.
>
> The problem is that I use a script to edit iptables to block ips that
> try to pick up my password. How could I communicate with iptables via
> yast using a script? Is this a straightforward task?
>
> Thanks!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org