Re: Can a daemon listen only on some interfaces?
On Sun, Dec 09, 2001 at 12:06:26AM +1000, mdevin@ozemail.com.au wrote:
> I do want sshd to listen on all (0.0.0.0) but I would like to find a way
> to make it only accept connection attempts for a certain user from the
> internet but still allow several other users to connect from the LAN. I
> do know how to make it accept connections for only certain users - by
> using the AllowUsers config item in /etc/ssh/sshd_config. But this
> allows all the users specified, to connect on all interfaces ssh listens
> on, which is not what I want ideally. What would be better, is to allow
> several from the LAN to connect but only one (me) from the internet.
> This doesn't seem possible from my reading so far. Oh well.
you may use pam, look at this previous post:
http://lists.debian.org/debian-security/2001/debian-security-200111/msg00395.html
regards
Reply to: