Ferret <> mumbled:
> Hi,
>
> We have recently introduced an External Email Filtering Service and I
> would like to Block all Inbound SMTP connection except for a list of
> nominated hosts.
>
> I have a Cisco 837 and at the moment all inbound port 25 Connections
> are forwarded to our internal SMTP Server (exchange 5.5).
>
> The Problem is that there are some spammer still around that are not
> using DNS MX record, but the our public IP address of the Router.
>
> Any suggestions would be appreciated
Apply an access list on your inbound interface.
Something like this should work
access-list 102 permit tcp <allowed_source_ip> host <destination_Ip> eq 25
access-list 102 permit tcp <allowed_source> host <destination_ip> eq 25
access-list 102 deny tcp any any eq 25
access-list 102 permit ip any any
You'll need to check into the command reference for the exact syntax -
I'm a little rusty - but then simply apply that to the inbound traffic
on your external interface by doing
interface <interface>
access-class 102 in
That should stop anything but the list of allowed hosts (you can put
more than two, but remember, the longer the list, the harder the router
has to work to process it) to connect to your destination host, and only
your destination host, on port 25 without blocking any other IP reaffic
at all.
DaZZa
--
A rule for life.
echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc
Address in header is spamblocked. ROT13 the following for email replies