summaryrefslogtreecommitdiff
path: root/manifests/rules/nfsd.pp
blob: bd509cf28a4bf5b6c141298aeb8bd89be1f67f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
class shorewall::rules::nfsd {
    shorewall::rule { 'net-me-portmap-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '111',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-portmap-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '111',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.statd-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '662',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.statd-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '662',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'me-net-rpc.statd-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '2020',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'me-net-rpc.statd-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '2020',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.lockd-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '32803',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.lockd-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '32769',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.mountd-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '892',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.mountd-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        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';
    }
    shorewall::rule { 'net-me-rpc.nfsd-tcp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'tcp',
        destinationport => '2049',
        order           => 240,
        action          => 'ACCEPT';
    }
    shorewall::rule { 'net-me-rpc.nfsd-udp':
        source          => 'net',
        destination     => '$FW',
        proto           => 'udp',
        destinationport => '2049',
        order           => 240,
        action          => 'ACCEPT';
    }

}