Modify Security for an Internal Mail Server
|
|
|
|
Introduction
This document explains how to modify your router security settings so
that you can use an internal email server.
Back to Top
Requirements
Back to Top
Modify Security for an Internal Email Server
If you have an email server inside your network, you can modify the
security settings to allow email traffic. To modify the firewall to allow email
traffic, follow these steps:
Note: You do not need to modify the firewall rules to allow users to
communicate with an external email server.
Add an ACL Rule for Email Traffic
To create a firewall rule to allow email traffic, follow these
steps:
-
Open a web browser and type
http://router-IP-address in the Address field. The router's IP
address is the IP address that you entered in the LAN Addressing Worksheet
(field L6A).
Note: For further information about how to launch SDM, refer to
Configure Your Router with Security Device Manager.
-
Click Configure.
-
Click the Firewall and ACL
tab.
-
Click Edit Firewall
Policy/ACL.
-
In the From interface, select your WAN interface
and in the To interface select your LAN interface. Click
Go.
-
Click Returning Traffic.
-
Follow these steps to allow incoming SMTP email traffic on TCP port
25:
-
Next to Services, click Add > Insert
After.
-
Next to Select an action, choose
Permit.
-
Under Source Host/Network, choose Any IP
Address.
-
Under Destination Host/Network, choose Any IP
Address.
-
Under Protocol and Service, choose
TCP.
-
Under Destination Port, click the details button
(...) and select smtp (25). Click
OK to select the service, then click OK to
confirm the rule.
-
Follow these steps to allow incoming SMTP email traffic on TCP port
465:
-
Next to Services, click Add > Insert
After.
-
Next to Select an action, choose
Permit.
-
Under Source Host/Network, choose Any IP
Address.
-
Under Destination Host/Network, choose Any IP
Address.
-
Under Protocol and Service, choose
TCP.
-
Under Destination Port, replace the word
any with 465. Click OK to
select the service, then click OK to confirm the
rule.
Create an Address Translation Rule for Email Traffic
To create an Address Translation Rule to allow email traffic, follow
these steps:
-
Follow these steps to add an address translation rule for TCP port
25:
-
Click the NAT tab.
-
Click Add to add a new translation
rule.
-
At the Add Address Translation Rule screen,
choose Static. Next to Direction, choose
From inside to outside.
-
Under Inside Interface(s), enter the internal IP
address of your server that you entered in field F1 of the Internet Services
worksheet.
-
Under Outside Interface(s), enter the public IP
address of your WAN connection.
-
Under IP Address, check Redirect
Port. Choose TCP and enter the port 25 in the
Original Port and Translated Port fields.
-
Click OK to confirm.
-
Follow these steps to add an address translation rule for TCP port
465:
-
Click Add to add a new translation
rule.
-
At the Add Address Translation Rule screen,
choose Static.
-
Next to Direction, choose From inside to
outside.
-
Under Inside Interface(s), enter the internal IP
address of your server that you entered in field F1 of the Internet Services
worksheet.
-
Under Outside Interface(s), enter the public IP
address of your WAN connection.
-
Under IP Address, check Redirect
Port. Choose TCP and enter port number 465 in the
Original Port and Translated Port fields.
-
Click OK to confirm.
-
Click File > Write to Startup Config to save
your configuration.
Back to Top
Next Step
You have now modified your router security settings for an internal
email server.
To make further changes to your router, refer to the
Router
Support Page.
To set up other devices on your network, refer to the
Configuration
Overview page.
Back to Top
Troubleshoot the Procedure
Back to Top
Related Information