]> git.proxmox.com Git - pve-firewall.git/blob - test/test-group1/tests
add group tests for container
[pve-firewall.git] / test / test-group1 / tests
1 { from => 'outside', to => 'vm100', source => '192.168.4.1', dport => 22, action => 'DROP' }
2 { from => 'outside', to => 'vm100', source => '192.168.3.1', dport => 22, action => 'ACCEPT' }
3
4 { from => 'host', source => '192.168.2.1', dport => 22, action => 'ACCEPT' }
5 { from => 'host', source => '192.168.2.1', dport => 443, action => 'REJECT' }
6 { from => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' }
7 { from => 'host', source => '127.0.0.1', dport => 80, action => 'ACCEPT' }
8
9 { to => 'host', source => '127.0.0.1', dport => 22, action => 'DROP' }
10 { to => 'host', source => '192.168.2.1', dport => 22, action => 'ACCEPT' }
11 { to => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' }
12
13 { to => 'vm100', source => '192.168.3.1', dport => 22, action => 'ACCEPT' }
14 { to => 'vm100', source => '192.168.4.1', dport => 22, action => 'DROP' }
15
16 { from => 'outside', to => 'ct200', source => '192.168.6.1', dport => 22, action => 'ACCEPT' }
17 { from => 'outside', to => 'ct200', source => '192.168.7.1', dport => 22, action => 'DROP' }
18
19
20