Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Juan Jose V. on July 11, 2002, 02:24:19 AM

Title: Blocking external access to server
Post by: Juan Jose V. 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.
Title: Re: Blocking external access to server
Post by: chris meredith 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.
Title: Re: Blocking external access to server
Post by: Dan Brown 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.
Title: Re: Blocking external access to server
Post by: Juan Jose V. on July 11, 2002, 03:06:46 AM
Thank you for your answer.
Title: Re: Blocking external access to server
Post by: chris meredith 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