Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Suse Studio Firewall

    Hi, I need help with my firewall settings, and I prospected using the script option.

    # This script is executed whenever your appliance boots. Here you can add
    # commands to be executed before the system enters the first runlevel. This
    # could include loading kernel modules, starting daemons that aren't managed
    # by init files, asking questions at the console, etc.
    # The 'kiwi_type' variable will contain the format of the appliance (oem =
    # disk image, vmx = VMware, iso = CD/DVD, xen = Xen).

    # read in some variables
    . /studio/profile

    if [ -f /etc/init.d/suse_studio_firstboot ]

    echo "Running SUSE Studio first boot script..."
    iptables -I INPUT -p tcp --dport 113 -j DROP
    iptables -I INPUT -p icmp -j DROP

    As you can see I need to use the terminal commands of "iptables -I INPUT -p tcp --dport 113 -j DROP" and "iptables -I INPUT -p icmp -j DROP." Is there anything wrong with my script or should I even be using script in the first place?

  2. #2
    Thanks anyways people, I got it solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts