]> git.proxmox.com Git - pve-firewall.git/blame - README
cleanups
[pve-firewall.git] / README
CommitLineData
ec6b1100
DM
1Experimental software, only used for testing.
2
5e1267a5
DM
3Note: you need to change values in /etc/sysctl.d/pve.conf to:
4
5net.bridge.bridge-nf-call-ip6tables = 1
6net.bridge.bridge-nf-call-iptables = 1
7net.bridge.bridge-nf-call-arptables = 1
8net.bridge.bridge-nf-filter-vlan-tagged = 1
9
10and reboot after that change.
11
12
ec6b1100
DM
13VM firewall rules are read from /etc/pve/firewall/<VMID>.fw
14
15You can find examples in the example/ dir
16
5e1267a5
DM
17Note: All commands overwrites /etc/shorewall/, so don't use if you have
18and existing shorewall config you want to keep.
19
ec6b1100
DM
20Use the following command to generate shorewall configuration:
21
22./pvefw compile
23
5e1267a5
DM
24To compile and start the firewall:
25
26./pvefw start
27
28To compile and restart the firewall:
29
30./pvefw restart
31
32To stop the firewall:
33
34./pvefw stop
35
36To clear all iptable rules:
ec6b1100 37
5e1267a5 38./pvefw clear