Im stuck using tags

Hi forum.

Im stuck with some tag-rules.
Servers should be able to initialize connection with other servers and non-servers (aka. everyone).
Non-servers should not be able to initialize connection to anyone at all.

Simplified version:

tag server
id 1000
enum 10 No
enum 20 Yes
default No
;

drop
chr tcp_syn
and not chr tcp_ack
and not ipsrc 10.144.0.1/32
;
accept;

The above is working, since my test-server is located at 10.144.0.1/32, but I need it to work with the tag ‘server’, and not specific IP.

I have tried with an accept-rule in between, accepting the tag ‘server’ playing around with tdiff but nothing seems to do it for me.

Any ideas?

In the drop rule you should refer to something like and treq server 10 or and not treq server 20

1 Like

Thanks! That was not descried in the control panel :face_with_raised_eyebrow:

Mentioned here:

I was only looking in the section ‘Flow Rules Help’ under the Flow Rules :disappointed:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.