Hi! Shorewall Users I have some problem configure my shorewall be able to auto start each time boot ? I am using debian linux I have check from the shorewall website FAQ. ### Shorewall FAQ ### Shorewall startup is disabled by default. Once you have configured your firewall, you can enable startup by removing the file /etc/shorewall/startup_disabled. Note: Users of the .deb package must edit /etc/default/shorewall and set ''startup=1''. ### I couldn''t find the ''startup=1'' at /etc/init.d/shorewall I need to configure my shorewall firewall be auto start each time the server restart / boot-up Need help Best Regards, Support
Support wrote:>Hi! Shorewall Users > >I have some problem configure my shorewall be able to auto start each time >boot ? I am using debian linux >I have check from the shorewall website FAQ. > >### Shorewall FAQ ### > >Shorewall startup is disabled by default. Once you have configured your >firewall, you can enable startup by removing the file >/etc/shorewall/startup_disabled. Note: Users of the .deb package must edit >/etc/default/shorewall and set ''startup=1''. > >### > > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall >If the file doesn''t exist then create it: echo "startup=1" > /etc/init.d/shorewall HTH, Peter>I need to configure my shorewall firewall be auto start each time the server >restart / boot-up > >Need help > >Best Regards, >Support > >_______________________________________________ >Shorewall-users mailing list >Post: Shorewall-users@lists.shorewall.net >Subscribe/Unsubscribe: lists.shorewall.net/mailman/listinfo/shorewall-users >Support: shorewall.net/support.htm >FAQ: shorewall.net/FAQ.htm > >-- _______________________________ Dr. Hagen & Partner GmbH Am Weichselgarten 7 91058 Erlangen Tel: (0049)9131/691-330 Fax: (0049)9131/691-248 _______________________________
At 15:10 9/5/2003 +0200, you wrote:>I couldn''t find the ''startup=1'' at /etc/init.d/shorewall >If the file doesn''t exist then create it: >echo "startup=1" > /etc/init.d/shorewallWARNING: He did not say the file does not exist. He said he can''t find the string "startup=1". We have no information on whether or not the file exists, and your advice will overwrite and destroy that file if indeed it is there. Be careful when giving out destructive commands to people who obviously do not have the knowledge to discern their risks. -- Rodolfo J. Paiz rpaiz@simpaticus.com
the correct reponse is echo "startup=1" >> /etc/init.d/shorewall add option not create. seeya =) Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>:> At 15:10 9/5/2003 +0200, you wrote: > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > >If the file doesn''t exist then create it: > >echo "startup=1" > /etc/init.d/shorewall > > WARNING: He did not say the file does not exist. He said he can''t find the > string "startup=1". > > We have no information on whether or not the file exists, and your advice > will overwrite and destroy that file if indeed it is there. Be careful when > > giving out destructive commands to people who obviously do not have the > knowledge to discern their risks. > > > -- > Rodolfo J. Paiz > rpaiz@simpaticus.com > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: > lists.shorewall.net/mailman/listinfo/shorewall-users > Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >
On Fri, Sep 05, 2003 at 01:05:08PM -0400, Rodrigo Cortes Cano wrote:> the correct reponse is > > echo "startup=1" >> /etc/init.d/shorewall > > add option not create. > > seeya =) > > > > Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>: > > > At 15:10 9/5/2003 +0200, you wrote: > > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > > >If the file doesn''t exist then create it: > > >echo "startup=1" > /etc/init.d/shorewall > > > > WARNING: He did not say the file does not exist. He said he can''t find the > > string "startup=1". > > > > We have no information on whether or not the file exists, and your advice > > will overwrite and destroy that file if indeed it is there. Be careful when > > > > giving out destructive commands to people who obviously do not have the > > knowledge to discern their risks. > >Ok, you''re right, I have not considered that :-( Just that on the machine I looked at there was no file so I assumed that it doesn''t exist in the normal package. Of course you can''t be to carefull. Cheers, Peter> > > > -- > > Rodolfo J. Paiz > > rpaiz@simpaticus.com > > > > _______________________________________________ > > Shorewall-users mailing list > > Post: Shorewall-users@lists.shorewall.net > > Subscribe/Unsubscribe: > > lists.shorewall.net/mailman/listinfo/shorewall-users > > Support: shorewall.net/support.htm > > FAQ: shorewall.net/FAQ.htm > > > > > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: lists.shorewall.net/mailman/listinfo/shorewall-users > Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm-- _______________________________ Dr. Hagen&Partner GmbH Am Weichselgarten 7 91058 Erlangen Tel: (0049)9131/691-330 Fax: (0049)9131/691-248 _______________________________
Hi Peter Eis Thank for your reply and HELP. May I ask where shall I add the script ? Because I am linux users. Below is my /etc/init.d/shorewall file. Best Regards Support #!/bin/sh RCDLINKS="2,S41 3,S41 6,K41" # # The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V1.4 3/14/2003 # # This program is under GPL [gnu.org/copyleft/gpl.htm] # # (c) 1999,2000,2001,2002,2003 - Tom Eastep (teastep@shorewall.net) # # On most distributions, this file should be called: # /etc/rc.d/init.d/shorewall or /etc/init.d/shorewall # # Complete documentation is available at shorewall.net # # This program is free software; you can redistribute it and/or modify # it under the terms of Version 2 of the GNU General Public License # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA # # If an error occurs while starting or restarting the firewall, the # firewall is automatically stopped. # # Commands are: # # shorewall start Starts the firewall # shorewall restart Restarts the firewall # shorewall stop Stops the firewall # shorewall status Displays firewall status # #### BEGIN INIT INFO # Provides: shorewall # Required-Start: $network # Required-Stop: # Default-Start: 2 3 5 # Default-Stop: 0 1 6 # Description: starts and stops the shorewall firewall ### END INIT INFO # chkconfig: 2345 25 90 # description: Packet filtering firewall # ############################################################################ #### # Give Usage Information # ############################################################################ #### usage() { echo "Usage: $0 start|stop|restart|status" exit 1 } ############################################################################ #### # E X E C U T I O N B E G I N S H E R E # ############################################################################ #### command="$1" case "$command" in stop|start|restart|status) exec /sbin/shorewall $@ ;; *) usage ;; esac ----- Original Message ----- From: "Peter Eis" <eis@hagen-partner.de> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Saturday, September 06, 2003 2:06 AM Subject: Re: [Shorewall-users] shorewall autoboot> On Fri, Sep 05, 2003 at 01:05:08PM -0400, Rodrigo Cortes Cano wrote: > > the correct reponse is > > > > echo "startup=1" >> /etc/init.d/shorewall > > > > add option not create. > > > > seeya =) > > > > > > > > Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>: > > > > > At 15:10 9/5/2003 +0200, you wrote: > > > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > > > >If the file doesn''t exist then create it: > > > >echo "startup=1" > /etc/init.d/shorewall > > > > > > WARNING: He did not say the file does not exist. He said he can''t findthe> > > string "startup=1". > > > > > > We have no information on whether or not the file exists, and youradvice> > > will overwrite and destroy that file if indeed it is there. Be carefulwhen> > > > > > giving out destructive commands to people who obviously do not havethe> > > knowledge to discern their risks. > > > > > Ok, you''re right, I have not considered that :-( > Just that on the machine I looked at there was no file so I assumed that > it doesn''t exist in the normal package. > Of course you can''t be to carefull. > > Cheers, > Peter > > > > > > > -- > > > Rodolfo J. Paiz > > > rpaiz@simpaticus.com > > > > > > _______________________________________________ > > > Shorewall-users mailing list > > > Post: Shorewall-users@lists.shorewall.net > > > Subscribe/Unsubscribe: > > > lists.shorewall.net/mailman/listinfo/shorewall-users > > > Support: shorewall.net/support.htm > > > FAQ: shorewall.net/FAQ.htm > > > > > > > > > > > _______________________________________________ > > Shorewall-users mailing list > > Post: Shorewall-users@lists.shorewall.net > > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> > Support: shorewall.net/support.htm > > FAQ: shorewall.net/FAQ.htm > > -- > _______________________________ > Dr. Hagen&Partner GmbH > Am Weichselgarten 7 > 91058 Erlangen > Tel: (0049)9131/691-330 > Fax: (0049)9131/691-248 > _______________________________ > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >
Hi Rodolfo J. Paiz Thank for your reply and HELP. May I ask where shall I add the script ? Because I am linux users. Below is my /etc/init.d/shorewall file. Best Regards Support ----- Original Message ----- From: "Rodrigo Cortes Cano" <raprop@koslan.cl> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Saturday, September 06, 2003 1:05 AM Subject: Re: [Shorewall-users] shorewall autoboot the correct reponse is echo "startup=1" >> /etc/init.d/shorewall add option not create. seeya =) Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>:> At 15:10 9/5/2003 +0200, you wrote: > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > >If the file doesn''t exist then create it: > >echo "startup=1" > /etc/init.d/shorewall > > WARNING: He did not say the file does not exist. He said he can''t find the > string "startup=1". > > We have no information on whether or not the file exists, and your advice > will overwrite and destroy that file if indeed it is there. Be carefulwhen> > giving out destructive commands to people who obviously do not have the > knowledge to discern their risks. > > > -- > Rodolfo J. Paiz > rpaiz@simpaticus.com > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: > lists.shorewall.net/mailman/listinfo/shorewall-users > Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >_______________________________________________ Shorewall-users mailing list Post: Shorewall-users@lists.shorewall.net Subscribe/Unsubscribe: lists.shorewall.net/mailman/listinfo/shorewall-users Support: shorewall.net/support.htm FAQ: shorewall.net/FAQ.htm
Hi Rodrigo Cortes Cano Thank for your reply and HELP. May I ask where shall I add the script ? Because I am linux users. Below is my /etc/init.d/shorewall file. Best Regards Support #!/bin/sh RCDLINKS="2,S41 3,S41 6,K41" # # The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V1.4 3/14/2003 # # This program is under GPL [gnu.org/copyleft/gpl.htm] # # (c) 1999,2000,2001,2002,2003 - Tom Eastep (teastep@shorewall.net) # # On most distributions, this file should be called: # /etc/rc.d/init.d/shorewall or /etc/init.d/shorewall # # Complete documentation is available at shorewall.net # # This program is free software; you can redistribute it and/or modify # it under the terms of Version 2 of the GNU General Public License # as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA # # If an error occurs while starting or restarting the firewall, the # firewall is automatically stopped. # # Commands are: # # shorewall start Starts the firewall # shorewall restart Restarts the firewall # shorewall stop Stops the firewall # shorewall status Displays firewall status # #### BEGIN INIT INFO # Provides: shorewall # Required-Start: $network # Required-Stop: # Default-Start: 2 3 5 # Default-Stop: 0 1 6 # Description: starts and stops the shorewall firewall ### END INIT INFO # chkconfig: 2345 25 90 # description: Packet filtering firewall # ############################################################################ #### # Give Usage Information # ############################################################################ #### usage() { echo "Usage: $0 start|stop|restart|status" exit 1 } ############################################################################ #### # E X E C U T I O N B E G I N S H E R E # ############################################################################ #### command="$1" case "$command" in stop|start|restart|status) exec /sbin/shorewall $@ ;; *) usage ;; esac Best Regards, Support ----- Original Message ----- From: "Rodrigo Cortes Cano" <raprop@koslan.cl> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Saturday, September 06, 2003 1:05 AM Subject: Re: [Shorewall-users] shorewall autoboot the correct reponse is echo "startup=1" >> /etc/init.d/shorewall add option not create. seeya =) Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>:> At 15:10 9/5/2003 +0200, you wrote: > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > >If the file doesn''t exist then create it: > >echo "startup=1" > /etc/init.d/shorewall > > WARNING: He did not say the file does not exist. He said he can''t find the > string "startup=1". > > We have no information on whether or not the file exists, and your advice > will overwrite and destroy that file if indeed it is there. Be carefulwhen> > giving out destructive commands to people who obviously do not have the > knowledge to discern their risks. > > > -- > Rodolfo J. Paiz > rpaiz@simpaticus.com > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: > lists.shorewall.net/mailman/listinfo/shorewall-users > Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >_______________________________________________ Shorewall-users mailing list Post: Shorewall-users@lists.shorewall.net Subscribe/Unsubscribe: lists.shorewall.net/mailman/listinfo/shorewall-users Support: shorewall.net/support.htm FAQ: shorewall.net/FAQ.htm
On Sat, Sep 06, 2003 at 08:36:27AM +0800, Support wrote:> Hi Peter Eis > > Thank for your reply and HELP. May I ask where shall I add the script ? > Because I am linux users. > Below is my /etc/init.d/shorewall file. >If I got this right you must not edit the /etc/init.d/shorewall file! Instead of changing this file you must edit the file /etc/defaults/shorewall, like the FAQ tells you. ### Shorewall FAQ ### Shorewall startup is disabled by default. Once you have configured your firewall, you can enable startup by removing the file /etc/shorewall/startup_disabled. Note: Users of the .deb package must edit /etc/default/shorewall and set ''startup=1''. ### If the file doesn''t exist you have to create it. The most simple way to do this is: echo "startup=1" >> /etc/defaults/shorewall HTH, Peter> > Best Regards > Support > > > #!/bin/sh > RCDLINKS="2,S41 3,S41 6,K41" > # > # The Shoreline Firewall (Shorewall) Packet Filtering Firewall - V1.4 > 3/14/2003 > # > # This program is under GPL [gnu.org/copyleft/gpl.htm] > # > # (c) 1999,2000,2001,2002,2003 - Tom Eastep (teastep@shorewall.net) > # > # On most distributions, this file should be called: > # /etc/rc.d/init.d/shorewall or /etc/init.d/shorewall > # > # Complete documentation is available at shorewall.net > # > # This program is free software; you can redistribute it and/or modify > # it under the terms of Version 2 of the GNU General Public License > # as published by the Free Software Foundation. > # > # This program is distributed in the hope that it will be useful, > # but WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > # > # You should have received a copy of the GNU General Public License > # along with this program; if not, write to the Free Software > # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA > # > # If an error occurs while starting or restarting the firewall, the > # firewall is automatically stopped. > # > # Commands are: > # > # shorewall start Starts the firewall > # shorewall restart Restarts the firewall > # shorewall stop Stops the firewall > # shorewall status Displays firewall status > # > #### BEGIN INIT INFO > # Provides: shorewall > # Required-Start: $network > # Required-Stop: > # Default-Start: 2 3 5 > # Default-Stop: 0 1 6 > # Description: starts and stops the shorewall firewall > ### END INIT INFO > > # chkconfig: 2345 25 90 > # description: Packet filtering firewall > # > ############################################################################ > #### > # Give Usage Information > # > ############################################################################ > #### > usage() { > echo "Usage: $0 start|stop|restart|status" > exit 1 > } > > ############################################################################ > #### > # E X E C U T I O N B E G I N S H E R E > # > ############################################################################ > #### > command="$1" > > case "$command" in > > stop|start|restart|status) > > exec /sbin/shorewall $@ > ;; > *) > > usage > ;; > > esac > > > > ----- Original Message ----- > From: "Peter Eis" <eis@hagen-partner.de> > To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> > Sent: Saturday, September 06, 2003 2:06 AM > Subject: Re: [Shorewall-users] shorewall autoboot > > > > On Fri, Sep 05, 2003 at 01:05:08PM -0400, Rodrigo Cortes Cano wrote: > > > the correct reponse is > > > > > > echo "startup=1" >> /etc/init.d/shorewall > > > > > > add option not create. > > > > > > seeya =) > > > > > > > > > > > > Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>: > > > > > > > At 15:10 9/5/2003 +0200, you wrote: > > > > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > > > > >If the file doesn''t exist then create it: > > > > >echo "startup=1" > /etc/init.d/shorewall > > > > > > > > WARNING: He did not say the file does not exist. He said he can''t find > the > > > > string "startup=1". > > > > > > > > We have no information on whether or not the file exists, and your > advice > > > > will overwrite and destroy that file if indeed it is there. Be careful > when > > > > > > > > giving out destructive commands to people who obviously do not have > the > > > > knowledge to discern their risks. > > > > > > > > Ok, you''re right, I have not considered that :-( > > Just that on the machine I looked at there was no file so I assumed that > > it doesn''t exist in the normal package. > > Of course you can''t be to carefull. > > > > Cheers, > > Peter > > > > > > > > > > -- > > > > Rodolfo J. Paiz > > > > rpaiz@simpaticus.com > > > > > > > > _______________________________________________ > > > > Shorewall-users mailing list > > > > Post: Shorewall-users@lists.shorewall.net > > > > Subscribe/Unsubscribe: > > > > lists.shorewall.net/mailman/listinfo/shorewall-users > > > > Support: shorewall.net/support.htm > > > > FAQ: shorewall.net/FAQ.htm > > > > > > > > > > > > > > > > _______________________________________________ > > > Shorewall-users mailing list > > > Post: Shorewall-users@lists.shorewall.net > > > Subscribe/Unsubscribe: > lists.shorewall.net/mailman/listinfo/shorewall-users > > > Support: shorewall.net/support.htm > > > FAQ: shorewall.net/FAQ.htm > > > > -- > > _______________________________ > > Dr. Hagen&Partner GmbH > > Am Weichselgarten 7 > > 91058 Erlangen > > Tel: (0049)9131/691-330 > > Fax: (0049)9131/691-248 > > _______________________________ > > _______________________________________________ > > Shorewall-users mailing list > > Post: Shorewall-users@lists.shorewall.net > > Subscribe/Unsubscribe: > lists.shorewall.net/mailman/listinfo/shorewall-users > > Support: shorewall.net/support.htm > > FAQ: shorewall.net/FAQ.htm > > > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe: lists.shorewall.net/mailman/listinfo/shorewall-users > Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm-- _______________________________ Dr. Hagen&Partner GmbH Am Weichselgarten 7 91058 Erlangen Tel: (0049)9131/691-330 Fax: (0049)9131/691-248 _______________________________
Hi! Peter Eis I have create a file /etc/shorewall/shorewall with echo "startup=1" But it does not work after I have restart my server. The shorewall services does not start. Need your advice .. Best Regards, Support ----- Original Message ----- From: "Peter Eis" <eis@hagen-partner.de> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Saturday, September 06, 2003 4:27 PM Subject: Re: [Shorewall-users] shorewall autoboot> On Sat, Sep 06, 2003 at 08:36:27AM +0800, Support wrote: > > Hi Peter Eis > > > > Thank for your reply and HELP. May I ask where shall I add the script ? > > Because I am linux users. > > Below is my /etc/init.d/shorewall file. > > > > If I got this right you must not edit the /etc/init.d/shorewall file! > Instead of changing this file you must edit the file > /etc/defaults/shorewall, like the FAQ tells you. > > ### Shorewall FAQ ### > > Shorewall startup is disabled by default. Once you have configured your > firewall, you can enable startup by removing the file > /etc/shorewall/startup_disabled. Note: Users of the .deb package must > edit > /etc/default/shorewall and set ''startup=1''. > > ### > > > If the file doesn''t exist you have to create it. > The most simple way to do this is: > echo "startup=1" >> /etc/defaults/shorewall > > HTH, > Peter > > > > > Best Regards > > Support > > > > > > #!/bin/sh > > RCDLINKS="2,S41 3,S41 6,K41" > > # > > # The Shoreline Firewall (Shorewall) Packet Filtering Firewall -V1.4> > 3/14/2003 > > # > > # This program is under GPL [gnu.org/copyleft/gpl.htm] > > # > > # (c) 1999,2000,2001,2002,2003 - Tom Eastep (teastep@shorewall.net) > > # > > # On most distributions, this file should be called: > > # /etc/rc.d/init.d/shorewall or /etc/init.d/shorewall > > # > > # Complete documentation is available at shorewall.net > > # > > # This program is free software; you can redistribute it and/ormodify> > # it under the terms of Version 2 of the GNU General PublicLicense> > # as published by the Free Software Foundation. > > # > > # This program is distributed in the hope that it will be useful, > > # but WITHOUT ANY WARRANTY; without even the implied warranty of > > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > # GNU General Public License for more details. > > # > > # You should have received a copy of the GNU General PublicLicense> > # along with this program; if not, write to the Free Software > > # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA > > # > > # If an error occurs while starting or restarting the firewall,the> > # firewall is automatically stopped. > > # > > # Commands are: > > # > > # shorewall start Starts the firewall > > # shorewall restart Restarts the firewall > > # shorewall stop Stops the firewall > > # shorewall status Displays firewallstatus> > # > > #### BEGIN INIT INFO > > # Provides: shorewall > > # Required-Start: $network > > # Required-Stop: > > # Default-Start: 2 3 5 > > # Default-Stop: 0 1 6 > > # Description: starts and stops the shorewall firewall > > ### END INIT INFO > > > > # chkconfig: 2345 25 90 > > # description: Packet filtering firewall > > # > >############################################################################> > #### > > # Give Usage Information > > # > >############################################################################> > #### > > usage() { > > echo "Usage: $0 start|stop|restart|status" > > exit 1 > > } > > > >############################################################################> > #### > > # E X E C U T I O N B E G I N S H E R E > > # > >############################################################################> > #### > > command="$1" > > > > case "$command" in > > > > stop|start|restart|status) > > > > exec /sbin/shorewall $@ > > ;; > > *) > > > > usage > > ;; > > > > esac > > > > > > > > ----- Original Message ----- > > From: "Peter Eis" <eis@hagen-partner.de> > > To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> > > Sent: Saturday, September 06, 2003 2:06 AM > > Subject: Re: [Shorewall-users] shorewall autoboot > > > > > > > On Fri, Sep 05, 2003 at 01:05:08PM -0400, Rodrigo Cortes Cano wrote: > > > > the correct reponse is > > > > > > > > echo "startup=1" >> /etc/init.d/shorewall > > > > > > > > add option not create. > > > > > > > > seeya =) > > > > > > > > > > > > > > > > Mensaje citado por "Rodolfo J. Paiz" <rpaiz@simpaticus.com>: > > > > > > > > > At 15:10 9/5/2003 +0200, you wrote: > > > > > >I couldn''t find the ''startup=1'' at /etc/init.d/shorewall > > > > > >If the file doesn''t exist then create it: > > > > > >echo "startup=1" > /etc/init.d/shorewall > > > > > > > > > > WARNING: He did not say the file does not exist. He said he can''tfind> > the > > > > > string "startup=1". > > > > > > > > > > We have no information on whether or not the file exists, and your > > advice > > > > > will overwrite and destroy that file if indeed it is there. Becareful> > when > > > > > > > > > > giving out destructive commands to people who obviously do nothave> > the > > > > > knowledge to discern their risks. > > > > > > > > > > > Ok, you''re right, I have not considered that :-( > > > Just that on the machine I looked at there was no file so I assumedthat> > > it doesn''t exist in the normal package. > > > Of course you can''t be to carefull. > > > > > > Cheers, > > > Peter > > > > > > > > > > > > > -- > > > > > Rodolfo J. Paiz > > > > > rpaiz@simpaticus.com > > > > > > > > > > _______________________________________________ > > > > > Shorewall-users mailing list > > > > > Post: Shorewall-users@lists.shorewall.net > > > > > Subscribe/Unsubscribe: > > > > > lists.shorewall.net/mailman/listinfo/shorewall-users > > > > > Support: shorewall.net/support.htm > > > > > FAQ: shorewall.net/FAQ.htm > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Shorewall-users mailing list > > > > Post: Shorewall-users@lists.shorewall.net > > > > Subscribe/Unsubscribe: > > lists.shorewall.net/mailman/listinfo/shorewall-users > > > > Support: shorewall.net/support.htm > > > > FAQ: shorewall.net/FAQ.htm > > > > > > -- > > > _______________________________ > > > Dr. Hagen&Partner GmbH > > > Am Weichselgarten 7 > > > 91058 Erlangen > > > Tel: (0049)9131/691-330 > > > Fax: (0049)9131/691-248 > > > _______________________________ > > > _______________________________________________ > > > Shorewall-users mailing list > > > Post: Shorewall-users@lists.shorewall.net > > > Subscribe/Unsubscribe: > > lists.shorewall.net/mailman/listinfo/shorewall-users > > > Support: shorewall.net/support.htm > > > FAQ: shorewall.net/FAQ.htm > > > > > > > _______________________________________________ > > Shorewall-users mailing list > > Post: Shorewall-users@lists.shorewall.net > > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> > Support: shorewall.net/support.htm > > FAQ: shorewall.net/FAQ.htm > > -- > _______________________________ > Dr. Hagen&Partner GmbH > Am Weichselgarten 7 > 91058 Erlangen > Tel: (0049)9131/691-330 > Fax: (0049)9131/691-248 > _______________________________ > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >
Hi Mr. Support, =) On Mon, 8 Sep 2003, Support wrote:>The shorewall services does not start. >Need your advice ..Have you looked through the documentation? Try this: shorewall.net/troubleshoot.htm -Jason
Hi Jason I follow the URL ..but still not able to solve it. Best regards Support ----- Original Message ----- From: "Jason Maas" <maasj@dm.org> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Monday, September 08, 2003 10:19 AM Subject: Re: [Shorewall-users] shorewall autoboot> Hi Mr. Support, =) > > On Mon, 8 Sep 2003, Support wrote: > > >The shorewall services does not start. > >Need your advice .. > > Have you looked through the documentation? Try this: > > shorewall.net/troubleshoot.htm > > -Jason > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >
On Mon, 8 Sep 2003, Support wrote:>I follow the URL ..but still not able to solve it.You didn''t follow the instructions completely then. The end of that troubleshooting page refers you to this URL if you still need help: shorewall.net/support.htm That page gives *detailed* instructions about what information to post to this mailing list when asking for help. Please follow the instructions carefully. For example, since you can''t get Shorewall to start, you are instructed to post the trace you took while following the instructions on the troubleshooting page, along with all the other requested information. Without the requested information no one can help you. -Jason
OK ..will try again Best Regards Support ----- Original Message ----- From: "Jason Maas" <maasj@dm.org> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Monday, September 08, 2003 11:16 AM Subject: Re: [Shorewall-users] shorewall autoboot> On Mon, 8 Sep 2003, Support wrote: > > >I follow the URL ..but still not able to solve it. > > You didn''t follow the instructions completely then. The end of that > troubleshooting page refers you to this URL if you still need help: > > shorewall.net/support.htm > > That page gives *detailed* instructions about what information to post to > this mailing list when asking for help. Please follow the instructions > carefully. For example, since you can''t get Shorewall to start, you are > instructed to post the trace you took while following the instructions on > the troubleshooting page, along with all the other requested information. > > Without the requested information no one can help you. > > -Jason > > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >
Hi Support On Sat, 6 Sep 2003 08:36:27 +0800, Support <support@leaderuniversal.com> wrote:> Hi Peter Eis > > Thank for your reply and HELP. May I ask where shall I add the script ? > Because I am linux users. > Below is my /etc/init.d/shorewall file. > > > Best Regards > Support > > > #!/bin/sh > RCDLINKS="2,S41 3,S41 6,K41"I thought RCDLINKS was only used in LEAF and not in the full Debian distro, which I think you said you are using. AFAICR, LEAF automatically creates the links that start and stop daemons and services based on this RCDLINKS variable. I don''t think Debian does this. If these links aren''t being created, then shorewall won''t start automatically. Are you sure you installed the right Shorewall package, because I don''t think you should have this line in your /etc/init.d/shorewall file? cheers Julian -- jc@ljchurch.co.uk ljchurch.co.uk
Hi! Julian Thank for your reply. My Shorewall autoboot is done. After I have create a link at level 2 in my debian server. *** Thank to all Users ... *** Best Regards, Support ----- Original Message ----- From: "Julian Church" <jc@ljchurch.co.uk> To: "Shorewall Users Mailing List" <shorewall-users@lists.shorewall.net> Sent: Monday, September 08, 2003 5:44 PM Subject: Re: [Shorewall-users] shorewall autoboot> Hi Support > > > On Sat, 6 Sep 2003 08:36:27 +0800, Support <support@leaderuniversal.com> > wrote: > > > Hi Peter Eis > > > > Thank for your reply and HELP. May I ask where shall I add the script ? > > Because I am linux users. > > Below is my /etc/init.d/shorewall file. > > > > > > Best Regards > > Support > > > > > > #!/bin/sh > > RCDLINKS="2,S41 3,S41 6,K41" > > I thought RCDLINKS was only used in LEAF and not in the full Debiandistro,> which I think you said you are using. > AFAICR, LEAF automatically creates the links that start and stop daemons > and services based on this RCDLINKS variable. I don''t think Debian does > this. If these links aren''t being created, then shorewall won''t start > automatically. > > Are you sure you installed the right Shorewall package, because I don''t > think you should have this line in your /etc/init.d/shorewall file? > > cheers > > Julian > -- > jc@ljchurch.co.uk > ljchurch.co.uk > _______________________________________________ > Shorewall-users mailing list > Post: Shorewall-users@lists.shorewall.net > Subscribe/Unsubscribe:lists.shorewall.net/mailman/listinfo/shorewall-users> Support: shorewall.net/support.htm > FAQ: shorewall.net/FAQ.htm >