Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Setting up shorewall dynamic zones, http://shorewall.net/Dynamic.html shows the command shorewall show dynamic zone where zone is one of your zones. I can get the add and delete commands to work, but not the show dynamic command.

Here is a shell session, with output from ipset list that proves that the items are indeed there.

$ ipset list CPREM_br0
Name: CPREM_br0
Type: hash:ip
Header: family inet hashsize 1024 maxelem 65536 
Size in memory: 16520
References: 66
Members:
192.168.85.153

$ shorewall add br0:192.168.85.200 CPREM
Host br0:192.168.85.200 added to zone CPREM

$ shorewall show dynamic CPREM

$ ipset list CPREM_br0
Name: CPREM_br0
Type: hash:ip
Header: family inet hashsize 1024 maxelem 65536 
Size in memory: 16536
References: 66
Members:
192.168.85.153
192.168.85.200

$ shorewall delete br0:192.168.85.200 CPREM
Host br0:192.168.85.200 deleted from zone CPREM

$ ipset list CPREM_br0                     
Name: CPREM_br0
Type: hash:ip
Header: family inet hashsize 1024 maxelem 65536 
Size in memory: 16536
References: 66
Members:
192.168.85.153

I am using the packaged version from Ubuntu 12.04 (4.4.26.1-1)

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.