Suse boot script

Posted on 2007-08-01
Last Modified: 2013-12-16
I have to add iptables rules at the end (the last" of the boot process...
So i have create a file (chmod 777)  with the can make this??

My linux is Suse and the boot script (like other distributions) is in /etc/init.d ....
So what i have to do?
Thanks a lot
Question by:diberi
    LVL 14

    Accepted Solution

    Activate the firewall in Yast
    edit "/etc/sysconfig/SuSEfirewall2"  
    set FW_CUSTOMRULES="/etc/sysconfig/scripts/SuSEfirewall2-custom"
    add you rules to "/etc/sysconfig/scripts/SuSEfirewall2-custom"
    LVL 10

    Expert Comment

    add the command in /etc/rc.local file.
    This is the file which is processed at the end of the boot process.
    LVL 1

    Expert Comment

    Forced accept.

    Community Support Moderator

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, ( because one time I did this and I essentially had a bricked …
    Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now