]> git.proxmox.com Git - pve-firewall.git/blame - test/test-group1/tests
add security group tests
[pve-firewall.git] / test / test-group1 / tests
CommitLineData
9e980dd5
DM
1{ from => 'host', source => '192.168.2.1', dport => 22, action => 'ACCEPT' }
2{ from => 'host', source => '192.168.2.1', dport => 443, action => 'REJECT' }
3{ from => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' }
4{ from => 'host', source => '127.0.0.1', dport => 80, action => 'ACCEPT' }
5
6{ to => 'host', source => '127.0.0.1', dport => 22, action => 'DROP' }
7{ to => 'host', source => '192.168.2.1', dport => 22, action => 'ACCEPT' }
8{ to => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' }