-
Notifications
You must be signed in to change notification settings - Fork 0
/
firewall
49 lines (40 loc) · 946 Bytes
/
firewall
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
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'wan'
option network 'wan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '0'
option mtu_fix '1'
config zone
option name 'freifunk'
option network 'freifunk'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config rule
option name 'Reject-Telnet'
option src 'freifunk'
option proto 'tcp'
option dest_port '23'
option target 'REJECT'
config rule
option src 'freifunk'
option proto 'tcp'
option dest_port '22'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
config rule
option src 'freifunk'
option dest 'wan'
option target 'DROP'
config rule
option src 'wan'
option dest 'freifunk'
option target 'DROP'