-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yaml.dist
52 lines (44 loc) · 1.2 KB
/
example.yaml.dist
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
configuration:
product: RB450G
version: 0.1
author: Daniel Maldonado
comment: Comment for Firewall
interfaces:
ether1:
ip:
name: ether1-wan
address: 192.168.0.1
netmask: 255.255.255.0
network: 192.168.0.0
comment: Interface de la WAN
services:
accept: [DNS, HTTP, PROXY]
deny: [SSH]
policy: drop
ether2:
ip:
name: ether2-lan
address: 10.0.0.1
netmask: 255.255.255.0
network: 10.0.0.0
comment: Interface de la LAN
services:
accept: [DNS, HTTP, PROXY, SSH]
deny: [FTP]
policy: drop
router:
ether2-to-ether1:
inface: ether2
outface: ether1
options: masquerade
services:
accept: [DNS, HTTP, PROXY]
deny: [FTP, SSH]
services:
DNS : { tcp: 53, udp: 53 }
HTTP: { tcp: 80 }
PROXY: { tcp: 8080 }
FTP: { tcp: 21 }
SSH: { tcp: 22 }
WINBOX: { tcp: 8291 }
TELNET: { tcp: 23 }