]> git.proxmox.com Git - pve-firewall.git/commitdiff
add tests for host interface match
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 14 May 2014 12:48:21 +0000 (14:48 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 14 May 2014 12:48:21 +0000 (14:48 +0200)
test/test-basic1/host.fw
test/test-basic1/tests

index 269c1168821d562bbc6b9b2b624c40bf502c49fd..14c5f7b23c794496e11e9c78fbdac5c40d83afc2 100644 (file)
@@ -7,3 +7,5 @@ enable: 1
 OUT REJECT - - - tcp 81
 #IN ACCEPT tesitif - - tcp 22
 IN ACCEPT - - - tcp 22
+IN REJECT vmbr0 - - tcp 100
+IN REJECT vmbr1 - - tcp 101
index 47ab927b875de9300ef7ba91616c7854d66d9a95..149cb67b2bc443caacd42b3c96e839593acbab9b 100644 (file)
@@ -37,4 +37,6 @@
 { from => 'ct200' , to => 'outside', dport => 80, action => 'ACCEPT' }
 { from => 'ct200' , to => 'outside', dport => 81, action => 'REJECT' }
 
+{ from => 'outside', to => 'host', dport => 100, action => 'REJECT' }
+{ from => 'outside', to => 'host', dport => 101, action => 'DROP' }