Access-List Configuration for Mail Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2006 10:23 PM - edited 02-20-2020 09:37 PM
Hi Guys
I have a little bit of problem setting the access-list on my Router 2801. I have a mail server, after applying the access-list i cant neither send mail nor receive mail for some reason. I am confused about this behaviour.
I have an example of the config i have setup. The mail server is am SMTP Gateway (MailMarshal). Would appreciate if some one has any suggestion about it.
Port forwarding wont work, because i wont be able to send out mail then.
I am not blocking any traffic going out.
NAT FOR MAIL SERVER
ip nat inside source static <inside ip> <outside ip>
ACL FOR SMTP PORT
access-list 110 permit tcp any host <outside ip> eq 25
APPLYING ACL
Interface Faste 0/1
*** Connect's to the ISP ***
ip access-group 110 in
Thanks in advance
- Labels:
-
Access List

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2006 10:32 PM
I think you need to also allow the TCP established sessions when you configure the ACLs. You may want to try access-list 110 permit tcp any any established
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2006 06:44 AM
Thanks Ganesh
My new access-list
access-list 110 permit tcp any host
access-list 110 permit tcp any any established
still no help ...
the think i am confused about it in if there is a problem with the access-list it should be mail only coming in.
but i can't send mail out too.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2006 10:38 AM
Can you post the config after removing any sensitive info.
That would help quickly identifying the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 09:42 PM
Hi Mate,
Try this
"ip nat inside source static tcp
Plus, you are sourcing traffic from the server out and also revceiving, so add the following:
"access-list 110 permit tcp any eq 25 host
And, you will be able to send mail as the port forwarding is bidirectional.
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 04:57 AM
Thanks for all you help guys..
The issue was with the SMTP gateways,,, it was doing a Reverse dns lookup, And a dns port heeded to be allow through...
Thanks for all you help ....
