ClearFoundation Tracker - ClearOS
View Issue Details
0021041ClearOSapp-firewall-custom - Custom Firewallpublic2018-08-09 05:042018-09-04 10:46
7.5.0 Updates7.5.0 Updates 
0021041: Custom rules do not allow the "!" character
Adding a rule:
$IPTABLES -A DOCKER -t nat ! -i docker0 -d -j DNAT --to-destination

gives "Firewall rule is invalid.".

Changing it to:
$IPTABLES -A DOCKER -t nat -i docker0 -d -j DNAT --to-destination

is OK.

Please make "!" an allowed character

(note the rule won't actually work as custom fires before 10-docker so the relevant chain, nat/DOCKER, does not exist at that point and I've had to create another file 11-docker to allow the rule to run automatically)
No tags attached.
Issue History
2018-08-09 05:04NickHNew Issue
2018-08-10 00:36user2Statusnew => confirmed
2018-08-10 00:37user2Target Version => 7.5.0 Updates
2018-09-04 10:46user2Statusconfirmed => resolved
2018-09-04 10:46user2Fixed in Version => 7.5.0 Updates
2018-09-04 10:46user2Resolutionopen => fixed
2018-09-04 10:46user2Assigned To => user2
2018-09-04 10:46user2Statusresolved => closed

There are no notes attached to this issue.