right match rule for port and address in sshd_config

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Greetings,

I want to create a set of rules that will be in affect when I connection originates from outside of my local lan (internet) and on a specific port, this is what I've wrote:
Match LocalPort 11111, Address *,!10.0.0.0/24
but when I start ssh, I get this error:
Invalid LocalPort '11111,' on Match line
/etc/ssh/sshd_config line 176: Bad Match condition

why is that? how can I solve it?

Thanks.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux