TOPEX Bytton (HSPA+ / LTE)
ByttonLTE(full)_genericUsermanual_sw306FAS_revN.1.docx
Page: 181 / 290
When you choose for interface “Router”, of course you will need
to set a Router IP.
Here also, besides the physical
interfaces shown above, the
Drop list for “Interface” includes
all logical (virtual) interfaces:
GRE tunnels, IPSEC tunnels,
LAN0/Wan0 port, bridges
defined, Virtual LANs, Open
VPN or PPTP tunnels, and so
on:
Metric:
Routing now features also the
metric
parameter: in case of multiple paths to the destination, you may
specify the metric for each route (0, 1, and 2 etc).
The routing program will check the metric to select the shortest route for the data packets.
After performing changes over the firewall and routing settings, it is recommended that you click again the
link “View Active Rules”, explained previously, to check that the rules generated by iptables are the ones
you really want.
See below an example of such routes:
# Generated by iptables-save v1.4.10 on Fri Jun 22 07:49:03 2012
*filter
:INPUT ACCEPT [364:46765]
:FORWARD ACCEPT [50:4214]
:OUTPUT ACCEPT [2398:251024]
-A INPUT -i lo -j ACCEPT
-A INPUT -i br0 -j ACCEPT
-A INPUT -p gre -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i ppp3 -j ACCEPT
-A INPUT -i tap0 -j ACCEPT
-A FORWARD -p gre -j ACCEPT
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -d 193.76.244.115/32 -p tcp -m tcp --dport 47 -j ACCEPT
-A OUTPUT -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
COMMIT
# Completed on Fri Jun 22 07:49:03 2012
# Generated by iptables-save v1.4.10 on Fri Jun 22 07:49:03 2012
*nat
:PREROUTING ACCEPT [375:39168]
:OUTPUT ACCEPT [279:18046]
:POSTROUTING ACCEPT [186:11701]
-A PREROUTING -i br0 -p tcp -m tcp --dport 21 -j DNAT --to-destination
193.76.244.115:47
-A POSTROUTING -o ppp3 -j MASQUERADE
-A POSTROUTING -o tap0 -j MASQUERADE
-A POSTROUTING -o ppp1 -j MASQUERADE
-A POSTROUTING -o wan -j MASQUERADE
COMMIT
# Completed on Fri Jun 22 07:49:03 2012