Next: Using secure services to
Up: Everything you always wanted
Previous: .
- Run the script as root (sitting at the console!):
chmod u+x ipchains.sh ; ./ipchains.sh
- Test: first make sure you can get out (and things like
netscape, ssh clients, etc work). Try to get in with another machine,
if available (
telnet your.machine <port>
, for example)
- Use the RedHat rc script to save your rules:
service ipchains save
(saved in /etc/sysconfig/ipchains
)
- Make the ipchains rc script run at boot time:
chkconfig --add ipchains
- In a minute we'll see how to add new rules for running services
like ssh and for using AFS
Troy Carter
2001-06-03