Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 01:31:17 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Mark <mw@lanfear.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Restricting Ports to local access?
Message-ID:  <20010915013116.B37616@hades.hell.gr>
In-Reply-To: <000001c13d5e$e443e700$0200000a@redmond.corp.microsoft.com>; from mw@lanfear.com on Fri, Sep 14, 2001 at 01:50:30PM -0700
References:  <000001c13d5e$e443e700$0200000a@redmond.corp.microsoft.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Mark <mw@lanfear.com> wrote:
> 
> 	Is there any way to restrict a port to have local access only
> (i.e. if you're running a shell or tunnelling in through SSH) but not be
> accessible to machines outside on the net?
> 
> 	[motivation:  I'd like to force POP3 clients to tunnel in using
> SSH]

You can use tcp_wrappers or a firewall to block access to everyone except for
localhost to these ports.  Then your users will have to use ssh tunnels and
connect to 127.0.0.1:110 to get to the popper.

-giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20010915013116.B37616>