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

Re: openssh - AllowUsers

On 11/3/12, lina <lina.lastname@gmail.com> wrote:
> I use the iptables as follows:
> # Allow SSH connections
> -A INPUT -p tcp --dport 22 -s -j ACCEPT

Also, to filter on the range of ip addresses you can use IP range
match[1] -src-range

-A INPUT -p tcp -m tcp --dport 22 -m iprange --src-range -j ACCEPT


[1] It's over 6 years old but nothing has replaced it yet:


Reply to: