Académique Documents
Professionnel Documents
Culture Documents
access
devicesusing
on Virtual
Internal
How To Configure
Port Forwarding
Host tonetwork
access devices on Internal network
External Ports
Mapped Ports
20
21 - 26
28
In case of Port List to Port List mapping, number of ports must be same for both, External Ports and
Mapped Ports. Request received on first external port will be redirected to first mapped port; second
request on external port will be redirected to second mapped port and so on. From the example
above, for Port List to Port List type of configuration, any request received for external ports 22, 24,
26, 28, 30 will be forwarded respectively to mapped ports 42, 44, 46, 48, 50.
Note:
For a single virtual host, a maximum of 16 ports can be configured in a Port List.
All the ports within a Port List support single protocol viz., either a TCP or a UDP protocol as per
the configuration. A combination of both of these protocols within a Port List is not allowed.
Scenario
Throughout the article we will use the network parameters shown in the network diagram given
below. Outbound traffic from LAN and DMZ is allowed while inbound traffic is restricted. The Web
Server is hosted in the DMZ.
How To Configure Port Forwarding using Virtual Host to access devices on Internal network
Network
components
External IP address
(Public)
IP address (Internal)
Web server
1.1.1.1
192.168.1.2 (Mapped)
Cyberoam WAN IP
1.1.1.1
Cyberoam LAN IP
192.168.1.1/24
Web Server
192.168.1.2/24
DMZ 192.168.1.0/24
LAN 191.168.2.0/24
Configuration
You must be logged on to the Web Admin Console as an administrator with Read-Write permission
for relevant feature(s).
Value
Description
Basic Settings
Name
IP Family
WebServer
IPv4
How To Configure Port Forwarding using Virtual Host to access devices on Internal network
1.1.1.1
External IP
Mapped IP
192.168.1.2
Physical Zone
DMZ
Enabled
Click to enable
forwarding.
TCP
Port Forwarding
Enable
Forwarding
Port
Protocol
the
service
of
port
Port
External Port
80
Available Options:
Port
Port Range
Port List
Specify public port number for which you
want to configure port forwarding.
Mapped Port Type - Select the type of
mapped port from the available options:
Mapped Port
Port
80
Available Options:
Port
Port Range
Port List
Specify mapped port number on the
destination network to which the public port
number is mapped.
How To Configure Port Forwarding using Virtual Host to access devices on Internal network
Click OK and the Virtual Host for Web_Server will be added successfully.
On clicking OK, the Add Firewall Rules For Virtual Host screen appears which allows you to create
firewall rules to allow access to Web_Server from other zones such as WAN zone.
Enable Add Firewall Rule(s) For Virtual Host and set rule parameters as desired.
In the given example, Virtual Host configuration for Web Server is shown. Virtual Host for other
servers like Mail Server, FTP Server or Database Server can be created similarly.
How To Configure Port Forwarding using Virtual Host to access devices on Internal network
While adding the Firewall Rule for the Virtual Host, it is recommended to allow only the required
services corresponding to the Server for security of the hosted server.