IPv6 and csf.allow for specific ports

Post Reply
robfico
Junior Member
Posts: 4
Joined: 09 May 2012, 01:40

IPv6 and csf.allow for specific ports

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: IPv6 and csf.allow for specific ports

Post by ForumAdmin »

You have to use pipe (|) as the separator.
robfico
Junior Member
Posts: 4
Joined: 09 May 2012, 01:40

Re: IPv6 and csf.allow for specific ports

Post by robfico »

Ah, that did it. Thanks!
Post Reply