Added forwardtype= support
This commit is contained in:
parent
e7d006f986
commit
70bf9f6f8c
@ -74,6 +74,15 @@ class Action(RuleChoice):
|
|||||||
return 'action=' + str(self)
|
return 'action=' + str(self)
|
||||||
|
|
||||||
|
|
||||||
|
class ForwardType(RuleOption):
|
||||||
|
external = 'external'
|
||||||
|
internal = 'internal'
|
||||||
|
|
||||||
|
@property
|
||||||
|
def rule(self):
|
||||||
|
return 'forwardtype=' + str(self)
|
||||||
|
|
||||||
|
|
||||||
class Proto(RuleChoice):
|
class Proto(RuleChoice):
|
||||||
'''Protocol name'''
|
'''Protocol name'''
|
||||||
tcp = 'tcp'
|
tcp = 'tcp'
|
||||||
|
Loading…
Reference in New Issue
Block a user