TOPEX Bytton (HSPA+ / LTE)
ByttonLTE(full)_genericUsermanual_sw306FAS_revN.1.docx
Page: 171 / 290
This will generate to firewall "View Active Rule"; after Save > Commit the next rules:
The following rules will be generated - in *nat section:
-A PREROUTING -i ppp1 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.1.10:80
and respectively in the * filter section:
-A FORWARD -d 192.168.1.10 -p tcp -m tcp --dport 80 -j ACCEPT
To forward port 8080 TCP from SIM data connection to LAN interface IP 192.168.1.11, over port 80.
No. Interface Protocol IP D Port S SameP/NewP Port D
1 PPP Embedded TCP 192.168.1.11 8080 NP 80
This will generate also to the firewall the next rules:
In *nat section:
-A PREROUTING -i ppp1 -p tcp -m tcp --dport 8080 -j DNAT --to-destination 192.168.1.11:80
and in the * filter section:
-A FORWARD -d 192.168.1.11 -p tcp -m tcp --dport 80 -j ACCEPT .
Interface
– select the type of the used interface in order to communicate with the Bytton equipment.
The available options are:
BR0 – the default bridge that joins all local (wireless or wired) ports of
Bytton;
WAN Ethernet port – the WAN port;
PPP interface – the Embedded_Modem for mobile (UMTS / HSPA)
connection;
GRET1 – the first GRE IP tunnel.
OPVPN_TAP0 – the Open VPN tunnel, working in TAP mode
As you can see, in addition to the physical, “real” interfaces, drop list shows
all
logical interfaces that you have defined on the system: bridges, virtual LANs,
GRE, IPSEC or Open VPN tunnels, and so on.
Protocol
– select the IP protocol.
TCP
and
UDP
protocols are used for communications, while the
ICMP
protocol is for the “ping” command;
IP D
– The IP Destination field. It contains the IP address of the computer where the firewall ports will
be forwarded. If you enabled rule but leave the IP to the default "0.0.0.0", then no rule will be added
to iptables.
Port S
– The source port – represents the number of the port that will be forwarded;
Same P / New P
– This section allows you to select two options:
-
SP
– when this option is selected the source port typed in the Port S field will be forwarded on
the
same port
to the computer with the IP address from the IP D field. If you select the “SP”
option, the “Port D” field will be filled only with the 0 value;
-
NP
– if you select this option, you will have to fill the “
Port D
” area with the number of the
new
port to which you want to forward the port from the “Port S” field.
Port D
– the destination port. This area is filled when the “NP” option is selected in the “Same P / New
P” section. It represents the number of port where the source port is forwarded.