Modify Security for an Internal Web Server
|
|
|
|
Introduction
This document explains how to modify your router security settings so
that you can use an internal web server.
Back to Top
Requirements
Back to Top
Modify Security for a Web Server
If you have a web server inside your network, you can modify the
security settings to allow web traffic. To modify your firewall to allow web
traffic, follow these steps:
Note: You do not need to modify the firewall rules to allow users to access
the Internet.
Add an ACL Rule for Web Traffic
To create a firewall rule to allow web 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 web traffic on TCP port
80:
-
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 A
Host Name or IP Address and enter the Router IP address you entered in
the Internet Worksheet (B46).
-
Under Protocol and Service, choose
TCP.
-
Under Destination Port, click the details button
(...) and select www (80). Click
OK to select the service, then click OK to
confirm the rule.
-
Follow these steps to allow incoming secure web traffic on TCP port
443:
Note: This step is only required if you have a secure web
server.
-
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 443. Click OK to
select the service, then click OK to confirm the
rule.
Create an Address Translation Rule for Web Traffic
To set up an Address Translation Rule to allow web traffic, follow
these steps:
-
Follow these steps to add an address translation rule for TCP port
80:
-
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 F4 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 80 in the
Original Port and Translated Port fields.
-
Click OK to confirm.
-
Follow these steps to add an address translation rule for TCP port
443:
Note: This step is only required if you have a secure web
server.
-
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 F4 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 443 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 web
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