#NEWLINE# def _add_raw_chain_rules( self , port , direction ) : #NEWLINE# #INDENT# jump_rule = self . _get_jump_rule ( port , direction ) #NEWLINE# self . iptables . ipv4 [ 'raw' ] . add_rule ( 'PREROUTING' , port ) #NEWLINE# self . iptables . ipv6 [ 'raw' ] . add_rule ( 'PREROUTING' , jump_rule )