Added forwardtype= support

This commit is contained in:
Giulio 2021-06-22 18:18:33 +02:00
parent e7d006f986
commit 70bf9f6f8c

View File

@ -74,6 +74,15 @@ class Action(RuleChoice):
return 'action=' + str(self)
class ForwardType(RuleOption):
external = 'external'
internal = 'internal'
@property
def rule(self):
return 'forwardtype=' + str(self)
class Proto(RuleChoice):
'''Protocol name'''
tcp = 'tcp'