(I don't use use the "rootcopy"... "changes" cheatcodes or the Setings Centre "save" dialogs)
The firewall in Porteus is turned off by default.
To turn it on by default do the following...
Make an empty "/etc" folder (I label mine... 09-etc) containing /etc/rc.d
(While booted into Porteus) copy /etc/rc.d/rc.local
and /etc/rc.d/rc.Firewall into the empty folder.
With a text editor open /etc/rc.d/rc.local and remove
the 1st comment symbol ("#") and add -e to the end of the line.
Then after the 1st group of rc.local comments add the following...
It should look like this...
Code: Select all
#!/bin/sh -e # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local startup commands in here. Also, if you have # anything that needs to be run at shutdown time you can # make an /etc/rc.d/rc.local_shutdown script and put those # commands in there. /etc/rc.d/rc.Firewall start
(the location of the final module is moot... place it in "base" or "modules" if you prefer)
When you start Porteus your firewall will default to "block all".
I'm sure other defaults (and methods) are possible... but you have to start somewhere right?
More to come...