Shorewall: temporarily drop incoming traffic except port 22?
Posted
by Magnetic_dud
on Server Fault
See other posts from Server Fault
or by Magnetic_dud
Published on 2010-05-18T11:01:47Z
Indexed on
2010/05/18
11:11 UTC
Read the original article
Hit count: 308
When I work on configuration files, especially of the mail server, I would like to temporarily drop all the incoming traffic except the port 22. So, I don't risk to lose incoming mails if I need to move the mail server to another server, or something like that.
Using shorewall, how I could do that?
I was thinking to create a rules file to divert all the traffic to a non-existant internal ip and switch it with the normal file when needed.
© Server Fault or respective owner