beautypg.com

Figure 7, Port forwarding example, Table 6 – B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual

Page 50: Port forwarding configuration, Figure 7 - port forwarding example, Command description

background image

50

Airborne Enterprise CLI Reference Manual

Figure 7 - Port Forwarding Example

Public Network

Private Network

Sever 1

IP: 192.168.2.100

Sever 2

IP: 192.168.2.150

Sever 3

IP: 192.168.2.200

Network Client

IP: 192.168.1.100

Port 8080 ð

IP: 192168.2.100:80

Port 8081 ð

IP: 192168.2.150:80

Port 8082 ð

IP: 192168.2.200:80

Port 21 ð

IP: 192168.2.100:21

Port Forwarding

Rules

Configuring the firewall requires a use of the commands listed in Table 5.

Table 6 - Port Forwarding Configuration

Command

Description

wl-route-default

This sets the default port forwarding setting.

forward

All incoming packets on the wireless interface are
forwarded to the address defined by eth-ip.

drop

All incoming packets on the wireless interface are
dropped.

If configured for forward all incoming requests, except
broadcast messages, will be forwarded to the IP address defined by
the eth-ip setting. Relaying of broadcast messages must be
explicitly enabled with the firewall rules for each port used by the

broadcast messages.

If configured for drop no traffic will be forwarded to the
Ethernet interface, essentially creating a firewall to the Ethernet
interface and clients on the interface. In this case adding rules will

allow specific traffic to be forwarded to the Ethernet interface.

The default is forward.