You are not logged in.
I have one ipset named S and I wish all non-S connections to be marked.
can I use the following commands?
/usr/bin/iptables -t mangle -N FWMARK
/usr/bin/iptables -t mangle -A FWMARK -m set ! --match-set S dst -j MARK --set-mark 0xffff
Thanks.
update:
it works.
Last edited by enihcam (2015-01-22 23:37:57)
Offline
Have you tried it?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Have you tried it?
There are multiple blocking issues on my router, and they also block the test of this. so that's why I'm looking for hints from the forum, with the simplified question.
Offline