X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=test%2Ftest-group1%2Ftests;h=6b2252d64c336ae93086e524122f1556dd8fc000;hp=d9e327b470eb307d5f34f67e80c74f6da81e9abc;hb=eb399cef4838774a16964cc5d11e4bcbfb07fbd2;hpb=f8b12fffb88e199f4641278bbd66efb1e99ac389 diff --git a/test/test-group1/tests b/test/test-group1/tests index d9e327b..6b2252d 100644 --- a/test/test-group1/tests +++ b/test/test-group1/tests @@ -6,11 +6,15 @@ { from => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' } { from => 'host', source => '127.0.0.1', dport => 80, action => 'ACCEPT' } -{ to => 'host', source => '127.0.0.1', dport => 22, action => 'DROP' } +{ to => 'host', source => '1.2.3.4', dport => 22, action => 'DROP' } { to => 'host', source => '192.168.2.1', dport => 22, action => 'ACCEPT' } { to => 'host', source => '192.168.2.1', dport => 80, action => 'REJECT' } { to => 'vm100', source => '192.168.3.1', dport => 22, action => 'ACCEPT' } { to => 'vm100', source => '192.168.4.1', dport => 22, action => 'DROP' } +{ from => 'outside', to => 'ct200', source => '192.168.6.1', dport => 22, action => 'ACCEPT' } +{ from => 'outside', to => 'ct200', source => '192.168.7.1', dport => 22, action => 'DROP' } + +