firewall
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| firewall [2006/08/20 12:18] – _seth | firewall [2026/09/27 00:45] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Here be dragons ====== | ||
| - | |||
| - | |||
| - | Summary: Don't change the firewall configuation. It's not for changing. | ||
| - | |||
| - | In all seriousness, | ||
| - | |||
| - | However, if you were (theoretically) going to change it, the instructions would look roughly as follows... | ||
| - | |||
| - | |||
| - | ====== Changing the Tardis Firewall ====== | ||
| - | |||
| - | |||
| - | Login to [[davison]] as root. Using [[rcs]], check-out(lock) the firewall script with: | ||
| - | rcs -l tardis-firewall | ||
| - | |||
| - | The tardis-firewall script is quite complex so take a good look over it first, it is fairly well documented. Try to make your edits in an appropriate place. | ||
| - | |||
| - | When you're done, you can deploy your changes by running: | ||
| - | ./ | ||
| - | A bunch of stuff will scroll past, ending in something similar to: | ||
| - | | ||
| - | + echo ' | ||
| - | Setting up fail-safe mechanism. | ||
| - | + at now + 2 minutes | ||
| - | warning: commands will be executed using /bin/sh | ||
| - | job 321 at 2006-08-20 12:48 | ||
| - | davison: | ||
| - | |||
| - | |||
| - | Pay close attention to the last two lines! The tardis-firewall script has a failsafe mechanism. You have two minutes to test that your new configuration is sane. At the very least you should test that: | ||
| - | |||
| - | * You can ssh into davison from the outside world.. | ||
| - | * You can ssh into gallifrey from the outside world. | ||
| - | |||
| - | If you're satisfied that you haven' | ||
| - | atrm <job given from script (eg 321 from the above example)> | ||
| - | to disable the failsafe. | ||
| - | |||
| - | If you fail to atrm the job in time, the firewall ruleset will be flushed, and routing will be disabled. You will have to log into davison externally, fix the firewall script, and re-run it. | ||
| - | |||
| - | If you're satisfied your edits do what you want, you can commit(unlock) the changes in [[rcs]] with | ||
| - | rcs -u tardis-firewall | ||
| - | |||
| - | |||
| - | ====== Notes ====== | ||
| - | |||
| - | * Be careful! | ||
firewall.1156076285.txt.gz · Last modified: (external edit)
