Koozali.org: home of the SME Server

Blocking external access to server

Juan Jose V.

Blocking external access to server
« on: July 11, 2002, 02:24:19 AM »
I have an e-smith server like mail and web server and I want that an external office access through a DSL connection with a fixed IP.
 
I would like to know if it would be possible to block the access to the server and allow external access to only that IP.

Thanks in advance. JJ.

chris meredith

Re: Blocking external access to server
« Reply #1 on: July 11, 2002, 02:30:23 AM »
Go read the ipchains HOWTOs.  You could configure your INPUT policy for your external interface to accept from that remote IP and reject from all else.  You could also edit your hosts.allow and hosts.deny files I guess.  Finally, you could close all external ports except PPTP and just create a PPTP tunnel.

Dan Brown

Re: Blocking external access to server
« Reply #2 on: July 11, 2002, 02:33:39 AM »
Or, more simply, configure the system as a private server and gateway, and specify the remote IP as a local network--should accomplish roughly the same thing, and a whole lot less work.

Juan Jose V.

Re: Blocking external access to server
« Reply #3 on: July 11, 2002, 03:06:46 AM »
Thank you for your answer.

chris meredith

Re: Blocking external access to server
« Reply #4 on: July 11, 2002, 08:00:45 AM »
Bah!  Who wants less work?  No wait, thats right, work is bad.

KISS - Keep It Simple Stupid