Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I permit a range of addresses for smtp

Status
Not open for further replies.

ilpadrino

MIS
Joined
Feb 14, 2001
Messages
416
Location
US
I'm overlooking something in my access-list. Can someone give me a hint for allowing a range of ip addresses to send mail to my host. The range listed on the sender's instructions is:
a.b.0.0/20 (a.b.0.0 mask 255.255.240.0)

I added this to our router, but it's not working:
access-list 104 permit tcp a.b.0.0 0.0.240.255 host w.x.y.z eq smtp

Thanks.





 
I know it's obvious, but is the access list applied to an interface? What's the rest of the access list look like?
 
Yes, it's applied to the serial0.1 int which connects to the internet.
 
Well, the rest of the acl would still be helpful. I assume that you mean that you have

interface serial 0.1
ip access-group 104 in

Another question is whether NAT is involved. Is "w.x.y.z" a public or private address?
 
w.x.y.z is a public address. yes we use NAT.
i think i may have figured it out. i'm testing email right now. i may have entered the wildcard bits wrong.
i've change to

access-list 104 permit tcp a.b.0.0 0.0.15.255 host w.x.y.z eq smtp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top