diff options
-rw-r--r-- | manifests/rules/nfsd.pp | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/manifests/rules/nfsd.pp b/manifests/rules/nfsd.pp index 2719a29..23ed33c 100644 --- a/manifests/rules/nfsd.pp +++ b/manifests/rules/nfsd.pp @@ -15,35 +15,35 @@ class shorewall::rules::nfsd { order => 240, action => 'ACCEPT'; } - shorewall::rule { 'net-me-rpc.nfsd-tcp': + shorewall::rule { 'net-me-rpc.statd-tcp': source => 'net', destination => '$FW', proto => 'tcp', - destinationport => '2049', + destinationport => '662', order => 240, action => 'ACCEPT'; } - shorewall::rule { 'net-me-rpc.nfsd-udp': + shorewall::rule { 'net-me-rpc.statd-udp': source => 'net', destination => '$FW', proto => 'udp', - destinationport => '2049', + destinationport => '662', order => 240, action => 'ACCEPT'; } - shorewall::rule { 'net-me-rpc.statd-tcp': + shorewall::rule { 'me-net-rpc.statd-tcp': source => 'net', destination => '$FW', proto => 'tcp', - destinationport => '4000', + destinationport => '2020', order => 240, action => 'ACCEPT'; } - shorewall::rule { 'net-me-rpc.statd-udp': + shorewall::rule { 'me-net-rpc.statd-udp': source => 'net', destination => '$FW', proto => 'udp', - destinationport => '4000', + destinationport => '2020', order => 240, action => 'ACCEPT'; } @@ -51,7 +51,7 @@ class shorewall::rules::nfsd { source => 'net', destination => '$FW', proto => 'tcp', - destinationport => '4001', + destinationport => '32803', order => 240, action => 'ACCEPT'; } @@ -59,7 +59,7 @@ class shorewall::rules::nfsd { source => 'net', destination => '$FW', proto => 'udp', - destinationport => '4001', + destinationport => '32769', order => 240, action => 'ACCEPT'; } @@ -67,7 +67,7 @@ class shorewall::rules::nfsd { source => 'net', destination => '$FW', proto => 'tcp', - destinationport => '4002', + destinationport => '892', order => 240, action => 'ACCEPT'; } @@ -75,7 +75,23 @@ class shorewall::rules::nfsd { source => 'net', destination => '$FW', proto => 'udp', - destinationport => '4002', + destinationport => '892', + order => 240, + action => 'ACCEPT'; + } + shorewall::rule { 'net-me-rpc.rquotad-tcp': + source => 'net', + destination => '$FW', + proto => 'tcp', + destinationport => '875', + order => 240, + action => 'ACCEPT'; + } + shorewall::rule { 'net-me-rpc.rquoata-udp': + source => 'net', + destination => '$FW', + proto => 'udp', + destinationport => '875', order => 240, action => 'ACCEPT'; } |