Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using suse-10.2.
I wrote an rule to block gmail.com (https--443)
iptables -I OUTPUT -p tcp --dport 443 -d gmail.com -j REJECT
it is blocking perfectly.
but when i am rebooting it is flushing.
plz help me to save this rule permanently
I googled it but they are given only for redhat.
there is no /etc/init.d/iptables, /etc/init.d/rc.local
so i cannot start service
SuSE iptables based on script /etc/sysconfig/SuSEfirewall2 -- so can you script?
or for the manual loading - just put your command in /etc/init.d/boot.local
i didn't use suse ever but try if there is /etc/rc.d/rc.[0-6].d and if it exists u can just put up that rule in a script in rc3.d or rc5.d directory as appropriate so that it would get executed at every reboot..
plzz correct me if i'm wrong..
hi venki,
i use fc5 and in my /etc/rc.d/rc3.d ( i use runlevel 3 ) a file starting with 'S' is executed , the stated service is started..
so u can do this:
"iptables" generally resides in /sbin and i think since root isn't logged in PATH isn't created , so we should specify complete path to execute it..
i think now on rebooting it should work..
plzz correct me if i am wrong..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.