Setting up firewalls. Multi-Tech Systems S000573A, rCell 100 Series rCell
Quảng cáo
Quảng cáo
Setting up firewalls
Defining firewall rules
The router's firewall enforces a set of rules that determine how incoming and outgoing packets are handled.
By default, all outbound traffic originating from the LAN is allowed to pass through the firewall, and all inbound traffic originating from external networks is dropped. This effectively creates a protective barrier between the LAN and all other networks.
Adding forwarding rules
For a device within the LAN to be visible from the internet or from an outside network, create a forwarding rule to allow incoming packets to reach the device.
1. In the Port Forwarding group, click Add Rule.
2. Enter a name and description. Click Next.
3. In the IP Forwarding DNAT pane, enter the following:
In the External WAN Ports field, type the port(s) to be forwarded. Common ports are listed in the field's attached drop‐down list and are exposed once you enter a character. Type ANY to forward all ports.
In the Destination LAN IP field, type the IP address of the device packets will be forwarded to. The attached drop‐down list contains DHCP leased and Saved Network addresses.
In the Destination LAN Ports field, type the port to which packets are translated. If there is a range of ports, the ending port is automatically set. The Destination LAN ending port is based on the
Destination LAN starting port and the range provided in the External WAN Port(s) field.
From the Protocol drop‐down list, select the protocol of the messages that can be forwarded.
A default filter allowing forwarded packets through the firewall is automatically created. If desired you can use the Advanced Setting mode of the Port Forwarding wizard to further restrict packets based on source address and source ports. In most cases this is not necessary.
4. Click Finish.
Adding Outbound Traffic Rules
To prevent a device within the LAN from communicating with a device in an external network, a rule has to be established in the firewall to drop packets destined to the external device.
1. Click Add Rule in the Outbound Traffic section.
2. Enter a name and description. Click Next.
3. In the Destination IP field, type the IP address of the device or network packets are being sent to. Type
ANY if the destination address does not matter.
4. In the Destination Mask field, type the network mask of the destination network.
5. In the Destination Port field, type the port packets are destined for. Common destination ports are listed in the Destination Port field's attached drop down list. Type ANY if the destination port does not matter.
6. In the Source IP field, type the IP address of the device or network that the traffic originates from. Type
ANY if the source address does not matter.
7. In the Source Mask field, type a network mask for the origin of the traffic.
Using the Router’s Web Interface
22
8. In the Source Port field, type the port that is the origin of the traffic. Type ANY if the source port does not matter.
9. From the Action drop‐down list, select the action to perform on the traffic. You can allow the traffic to be accepted, rejected, logged or dropped. Accepted packets are allowed to continue through the firewall. Dropped packets are removed and no further processing is performed on them. Rejected packets are dropped, and an error message is sent to the source of the packet. Logged packets are logged to the system's main log file with the rule's name prepended as an identifier (viewable from the
Statistics page). Log rules do not affect the packet's fate.
10. The Direction is locked to OUTGOING while using the Outbound Traffic wizard.
11. From the Protocol drop‐down list, select the protocol of the traffic that is being filtered.
Advanced Settings
The Firewall's Advanced Settings mode allows users to manipulate DNAT, SNAT, and Filter rules directly. DNAT rules can manipulate the destination address and port of a packet; similarly SNAT rules can manipulate the source address and port of a packet.
Filter rules apply an ACCEPT, REJECT, DROP, or LOG action to a packet. DNAT, SNAT, and Filter rules can be associated if they are named the same. This association is recognized within the Port Forwarding and
Outbound Traffic wizards accessed from the Normal Settings mode, and allows the associated rules to be viewed and edited as a series.
Setting up static routes
To set up a manually configured mapping of an IP address to a next‐hop destination for data packets:
1. From Firewall, select Static Routes.
2. In the pane that appears, click Add Route.
3. In the Name field, type the name of the route.
4. In the Address field, type the remote network IP address of the remote location.
5. In the Mask field, type the network mask that is assigned on the remote location.
6. In the Gateway field, type the IP address of the routing device that supports the remote IP Network.
7. Click Finish.
Using the Router’s Web Interface
23
Tải xuống
Quảng cáo