To run iptables, it needs to be installed and in onboot.
To start the basic firewall each time Tinycore is started, add
/usr/local/sbin/basic-firewall
or
/usr/local/sbin/basic-firewall noprompt
to /opt/bootlocal.sh.
The basic firewall is a simple firewall which should suit most home users with a single computer connected to the internet.
To see the iptables setup, open the terminal and type
sudo iptables -vL
or
sudo iptables -vnL
If you are happy with the setup, use it as it is.
However, there may be some people who want to use different iptables rules, for example, those with a network connected to the internet.
I suggest these people modify the file which writes the iptables rules each time the computer is started, and make a new extension with the modified file.
I am not running tinycore at the moment, and can't remember exactly where the file is, but look in /tmp/tcloop/iptables. It may be in one of iptables' dependencies. You can read the file with a text editor.
There is an example of making a new extension here.
http://wiki.tinycorelinux.net/wiki:printer_setup_using_cupsIf anyone can give the exact path to the file to modify, please share.