Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 1999 20:57:43 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        lew chua <lewc@mmasia.com>, security@FreeBSD.ORG
Subject:   Re: Need help against spam
Message-ID:  <4.1.19991202205116.043a38d0@granite.sentex.ca>
In-Reply-To: <199912030605.WAA26043@gandalf.mmasia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:27 PM 12/2/99 , lew chua wrote:
>How do I limit the Ip address for sendmail to people on my lan? 
>: Someone is using my free? I'm running 2.1.7.

ipfw is one way. e.g. 

ipfw add 200 allow tcp from <my local LAN subnet> to <ip of freebsd box> 25
ipfw add 210 deny tcp from any to <ip address of freebsd box> 25

so if your lan network as 192.168.1.0/24 and the FreeBSD box was 192.168.1.119

ipfw add 200 allow tcp from 192.168.1.0/24 to 192.168.1.119 25
ipfw add 210 deny tcp from any to 192.168.1.119 25

However, if you want to fix your open relay, you really should 

a) upgrade to a current version of sendmail
b) see http://maps.vix.com/tsi/ar-fix.html

	---Mike
**********************************************************************
Mike Tancsa                       *  mike@sentex.net
Sentex Communications Corp,       *  http://www.sentex.net/mike
Cambridge, Ontario                *  519 651 3400
Canada                            *


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19991202205116.043a38d0>