]> git.proxmox.com Git - pve-firewall.git/blobdiff - test/test-group1/tests
Introduce new management ipset
[pve-firewall.git] / test / test-group1 / tests
index d9e327b470eb307d5f34f67e80c74f6da81e9abc..6b2252d64c336ae93086e524122f1556dd8fc000 100644 (file)
@@ -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' }
+
+