If my iptables is set to drop packets from certain hosts, is it possible to add a host that can be excepted from this if it is affected?
The hostname I'm wanting to except from these rules is affected by them.
|
feedback
|
|
You just have to use an ACCEPT rule for this host before the DROP rules you want to avoid. | |||
|
feedback
|
|
Rules are evaluated in order, so just make sure that your accept rule comes before the default deny rule. | |||
|
feedback
|
|
This might not be useful in this case, but the default policy(last evaluated rule) can also be changed with the -P ACCEPT. | |||
|
feedback
|