Page 1 of 1

IPv6 and csf.allow for specific ports

Posted: 30 May 2017, 19:30
by robfico
In /etc/csf.allow, if I want to enable an IPv6 address for a specific port, is the syntax the same, i.e.:

tcp:in:d=22:s=2601:589:4600:3f05::/64

It does not seem to allow the IPv6 address. Is there a different syntax for allowing IPv6 for a specific port/source address? Thanks.

Rob

Re: IPv6 and csf.allow for specific ports

Posted: 30 May 2017, 20:54
by ForumAdmin
You have to use pipe (|) as the separator.

Re: IPv6 and csf.allow for specific ports

Posted: 30 May 2017, 21:14
by robfico
Ah, that did it. Thanks!