Dik ....
2016-12-12 11:59:29 UTC
shorewall version 4.5.5.3
I am trying to use some ipsets to protect a specific service. When using a single ipset containing my own ip it works as expected with following in /etc/shorewall/rules :
DNAT net:!+myip dmz:10.0.0.101 tcp 443 - xxx.xxx.xxx.xxx
The documentation says that I can add multiple ipsets with !+[...]. When I create a second ipset and add it as described I am no longer prevented from accessing the service from my own ip :
DNAT net:!+[ipset,myip] dmz:10.0.0.101 tcp 443 - xxx.xxx.xxx.xxx
I presume that this means that neither ipset is working.
Please advise.
I am trying to use some ipsets to protect a specific service. When using a single ipset containing my own ip it works as expected with following in /etc/shorewall/rules :
DNAT net:!+myip dmz:10.0.0.101 tcp 443 - xxx.xxx.xxx.xxx
The documentation says that I can add multiple ipsets with !+[...]. When I create a second ipset and add it as described I am no longer prevented from accessing the service from my own ip :
DNAT net:!+[ipset,myip] dmz:10.0.0.101 tcp 443 - xxx.xxx.xxx.xxx
I presume that this means that neither ipset is working.
Please advise.