View Issue Details

IDProjectCategoryView StatusLast Update
0001817RackTablesdefaultpublic2018-07-04 15:24
ReporterNeciAssigned To 
PrioritynormalSeverityfeatureReproducibilityunable to reproduce
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001817: 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

Issue History

Date Modified Username Field Change
2018-03-22 13:58 Neci New Issue
2018-07-04 15:24 tomium Note Added: 0003795