View Issue Details

IDProjectCategoryView StatusLast Update
1817RackTablesdefaultpublic2018-11-15 09:45
ReporterNeci Assigned To 
PrioritynormalSeverityfeatureReproducibilityunable to reproduce
Status closedResolutionwon't fix 
Summary1817: Add firewall and NAT rules
DescriptionHello,
it will be very handy to have firewall and NAT rules in racktables. I think basic table with these collumns will be enough for now:

source ip/hostname | port/port range |destination ip/hostname | port | description | enabled/disabled|
TagsNo tags attached.

Activities

tomium

tomium

2018-07-04 15:24

reporter   ~0003795

Hello Neci,

If a basic table is enough, then it's in Racktables right now, if you want to go through some steps.
That's my suggestion:

Create a new object-type called "Nat-rule", or something like that (go to Main page : Configuration : Dictionary : Chapter 'ObjectType' - Edit). Make note of the numeric ID of your new object type
Then create the desiered attributes, like "sourceIP", "portRange" and so on (Main page : Configuration : Attributes - Edit attributes). The attribute type should be "string"
Assign your new attributes to your newly created Object-Type (Main page : Configuration : Attributes - Edit map).
As the last step, you should hide some useless tabs from the objects page. Go to Main page : Configuration : Permissions - Edit and add the following line:
deny ({$typeid_XXXX} and ({$tab_ip} or {$tab_rackspace} or {$tab_ports}))
where XXXX is the numeric ID of your new object type.

For a table view of your Objects of the new type consider to implement Sebastian Mogilowski's Racktabes Extensions http://www.mogilowski.net/lang/de-de/projects/racktables/
Sebastian's extensions are very usefull anyway.

Have fun
Thomas
infrastation

infrastation

2018-11-15 09:45

administrator   ~0003863

Designing and implementing this feature from scratch and making it work properly would take time. Right now I am not aware of any volunteers actually willing to commit into this work, so I am closing the request as "will not fix". You are welcome to move the discussion to the users mailing list to state the problem and to look for contributors to solve it (or to integrate RackTables and some other pre-existing firewall rule manager, which may be much simpler).

Issue History

Date Modified Username Field Change
2018-03-22 13:58 Neci New Issue
2018-07-04 15:24 tomium Note Added: 0003795
2018-11-15 09:45 infrastation Status new => closed
2018-11-15 09:45 infrastation Resolution open => won't fix
2018-11-15 09:45 infrastation Note Added: 0003863