NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
firewall installation questionI use Etch. I want to install a firewall script. I found one in TIA -- -- |
Vá: firewall installation question
2007/11/3, Paul E Condon :
> I use Etch. I want to install a firewall script. I found one in
> www.debian-administration.org that establishes a transparent proxy for
> web browsing. It is a script that seems to do what I want when I run
> it manually. debadmin article says to put it in /etc/network/if-up.d/
> and it will be run automatically as part of boot, but that is not true
> on my machine. Is my machine malfunction or is there a different place
> that such boot scripts should be placed?
You must chmod +x this script:
# chmod +x script_name
in that directory: /etc/network/if-up.d/
--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
--
firewall installation question
2007/11/3, Paul E Condon :
> I use Etch. I want to install a firewall script. I found one in
> www.debian-administration.org that establishes a transparent proxy for
> web browsing. It is a script that seems to do what I want when I run
> it manually. debadmin article says to put it in /etc/network/if-up.d/
> and it will be run automatically as part of boot, but that is not true
> on my machine. Is my machine malfunction or is there a different place
> that such boot scripts should be placed?
You must chmod +x this script:
# chmod +x script_name
--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
--
firewall installation question
On Sat, Nov 03, 2007 at 10:32:29PM +0100, Pál Csányi wrote:
> 2007/11/3, Paul E Condon :
> > I use Etch. I want to install a firewall script. I found one in
> > www.debian-administration.org that establishes a transparent proxy for
> > web browsing. It is a script that seems to do what I want when I run
> > it manually. debadmin article says to put it in /etc/network/if-up.d/
> > and it will be run automatically as part of boot, but that is not true
> > on my machine. Is my machine malfunction or is there a different place
> > that such boot scripts should be placed?
>
> You must chmod +x this script:
> # chmod +x script_name
>
Thanks, but I was forced to +x the script in order to run it manually.
Something else is the problem.
--
Paul E Condon
--
firewall installation question
On Sat Nov 03, 2007 at 19:49:40 -0600, Paul E Condon wrote:
> > You must chmod +x this script:
> > # chmod +x script_name
> >
>
> Thanks, but I was forced to +x the script in order to run it manually.
> Something else is the problem.
Files in that directory are executed by 'run-parts'. That
has some restrictions upon the filenames you may use. See
'man run-parts' for details.
My suggestion:
1. Name the script 'firewall'.
2. Make sure it is executable.
3. Make sure your firewall is flushed/off.
4. Run /etc/init.d/networking restart, or reboot.
5. Now list rules.
Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/
--
firewall installation question
On Sun, Nov 04, 2007 at 01:53:57AM +0000, Steve Kemp wrote:
> On Sat Nov 03, 2007 at 19:49:40 -0600, Paul E Condon wrote:
>
> > > You must chmod +x this script:
> > > # chmod +x script_name
> > >
> >
> > Thanks, but I was forced to +x the script in order to run it manually.
> > Something else is the problem.
>
> Files in that directory are executed by 'run-parts'. That
> has some restrictions upon the filenames you may use. See
> 'man run-parts' for details.
Yes! I knew that once! My filename contained a dot-extension.
Get rid of the dot and now it works!
Oh joy! Oh rapture!
And Thankyou, Thankyou, Thankyou.
--
Paul E Condon
--