]> git.proxmox.com Git - pve-firewall.git/blame - example/100.fw
better documentation
[pve-firewall.git] / example / 100.fw
CommitLineData
ec6b1100
DM
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
14SSH(ACCEPT) net0 192.168.2.192 -
15
16[OUT]
17
18
19DNS(ACCEPT) net0
20Ping(ACCEPT) net0
21SSH(ACCEPT)
22
23
24