mirror of
git://git.proxmox.com/git/pve-firewall.git
synced 2025-01-09 01:18:04 +03:00
add group tests for container
This commit is contained in:
parent
f8b12fffb8
commit
97db66b2de
@ -1,4 +1,7 @@
|
||||
[RULES]
|
||||
|
||||
IN ACCEPT - - - tcp 22
|
||||
IN ACCEPT - - - tcp 80
|
||||
IN ACCEPT - 192.168.2.1 - tcp 22
|
||||
IN ACCEPT - 192.168.2.1 - tcp 80
|
||||
IN ACCEPT - 127.0.0.1 - tcp 80
|
||||
|
||||
GROUP group3 venet
|
@ -12,3 +12,7 @@ OUT REJECT - - tcp 443
|
||||
[GROUP group2]
|
||||
|
||||
IN ACCEPT 192.168.3.0/24 - tcp 22
|
||||
|
||||
[GROUP group3]
|
||||
|
||||
IN ACCEPT 192.168.6.0/24 - tcp 22
|
||||
|
@ -13,4 +13,8 @@
|
||||
{ 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' }
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user