Add multiport

This commit is contained in:
Jamie Cameron
2009-02-19 02:41:35 +00:00
parent 33f6134586
commit aa0be6a2cc

View File

@@ -218,19 +218,19 @@ if ($in{'auto'}) {
'j' => [ "", 'ACCEPT' ],
'cmt' => 'Allow connections to mail server' },
{ 'chain' => 'INPUT',
'm' => [ [ "", "tcp" ] ],
'm' => [ [ "", "tcp" ], [ "", "multiport" ],
'p' => [ "", "tcp" ],
'dport' => [ "", "20:21" ],
'j' => [ "", 'ACCEPT' ],
'cmt' => 'Allow connections to FTP server' },
{ 'chain' => 'INPUT',
'm' => [ [ "", "tcp" ] ],
'm' => [ [ "", "tcp" ], [ "", "multiport" ],
'p' => [ "", "tcp" ],
'dport' => [ "", "110,995" ],
'j' => [ "", 'ACCEPT' ],
'cmt' => 'Allow connections to POP3 server' },
{ 'chain' => 'INPUT',
'm' => [ [ "", "tcp" ] ],
'm' => [ [ "", "tcp" ], [ "", "multiport" ],
'p' => [ "", "tcp" ],
'dport' => [ "", "143,220,993" ],
'j' => [ "", 'ACCEPT' ],