]> git.proxmox.com Git - pve-firewall.git/blob - example/100.fw
94ab2a602df410db500eb1496d9e874e0984d365
[pve-firewall.git] / example / 100.fw
1 # Example VM firewall configuration
2 #ACTION IFACE SOURCE DEST PROTO D-PORT S-PORT
3
4 # ACTION: shorewall action
5 # IFACE: vm network interface (net0 - net5), or '-' for all interfaces
6 # SOURCE: source IP address, or '-' for any source
7 # DEST: dest IP address, or '-' for any destination address
8 # PROTO: see /etc/protocols
9 # D-PORT: destination port
10 # S-PORT: source port
11
12 [IN]
13
14 SSH(ACCEPT) net0 192.168.2.192 -
15
16 [OUT]
17
18
19 DNS(ACCEPT) net0
20 Ping(ACCEPT) net0
21 SSH(ACCEPT)
22
23
24