TOPEX Bytton (HSPA+ / LTE)
ByttonLTE(full)_genericUsermanual_sw306FAS_revN.1.docx
Page: 168 / 290
*filter
-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 -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -p udp -m udp --dport 162 -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A FORWARD -i br0 -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 -i ppp3 -j ACCEPT
-A FORWARD -i tun0 -j ACCEPT
-A OUTPUT -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
COMMIT
# Completed on Tue Dec 11 15:26:40 2012
Or:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.65 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1
195.74.234.12 0.0.0.0 255.255.255.254 U 0 0 0 br2
10.0.58.44 0.0.0.0 255.255.255.252 U 0 0 0 br3
192.168.148.148 0.0.0.0 255.255.255.252 U 0 0 0 lan0
192.168.144.0 0.0.0.0 255.255.255.0 U 0 0 0 wan.3
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
109.73.221.0 0.0.0.0 255.255.255.0 U 0 0 0 br4
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wan
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br1
0.0.0.0 10.0.58.1 0.0.0.0 UG 0 0 0 br1
And respectively:
# Generated by iptables-save v1.4.10 on Mon Jul 16 14:10:41 2012
*mangle
:PREROUTING ACCEPT [1467:112797]
:INPUT ACCEPT [1204:85519]
:FORWARD ACCEPT [68:7025]
:OUTPUT ACCEPT [1922:278113]
:POSTROUTING ACCEPT [2057:287583]
COMMIT
# Completed on Mon Jul 16 14:10:41 2012
# Generated by iptables-save v1.4.10 on Mon Jul 16 14:10:41 2012
*nat
:PREROUTING ACCEPT [290:28646]
:OUTPUT ACCEPT [224:14409]
:POSTROUTING ACCEPT [240:16782]
-A PREROUTING -i br0 -p tcp -m tcp --dport 21 -j DNAT --to-destination
193.76.244.115:47
-A POSTROUTING -o ppp1 -j MASQUERADE
-A POSTROUTING -o wan -j MASQUERADE
COMMIT
# Completed on Mon Jul 16 14:10:41 2012
# Generated by iptables-save v1.4.10 on Mon Jul 16 14:10:41 2012
*filter
:INPUT ACCEPT [51:1632]
:FORWARD ACCEPT [68:7025]
:OUTPUT ACCEPT [1725:267192]
-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