right match rule for port and address in sshd_config

daggs at gmx.com daggs at gmx.com
Mon Apr 28 05:10:17 EST 2014


> ----- Original Message -----
> From: Darren Tucker
> Sent: 04/27/14 09:50 PM
> To: daggs at gmx.com
> Subject: Re: right match rule for port and address in sshd_config
> 
> On 27 Apr 2014 14:30, <daggs at gmx.com> wrote:
> >
> > 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
> 
> Try removing the trailing comma after the port number.

thanks, that seems to have solved it.


More information about the openssh-unix-dev mailing list