proszę tutaj wynik iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
77 8745 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT all -- lo any anywhere anywhere
1 48 syn_flood tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
36 3144 input_rule all -- any any anywhere anywhere
36 3144 input all -- any any anywhere anywhere
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
106 22435 zone_wan_MSSFIX all -- any any anywhere anywhe re
103 22279 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
3 156 forwarding_rule all -- any any anywhere anywhe re
3 156 forward all -- any any anywhere anywhere
0 0 reject all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
70 20101 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT all -- any lo anywhere anywhere
24 1463 output_rule all -- any any anywhere anywhere
24 1463 output all -- any any anywhere anywhere
Chain forward (1 references)
pkts bytes target prot opt in out source destination
3 156 zone_lan_forward all -- br-lan any anywhere anywh ere
0 0 zone_wan_forward all -- eth0.2 any anywhere anywh ere
Chain forwarding_lan (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_wan (1 references)
pkts bytes target prot opt in out source destination
Chain input (1 references)
pkts bytes target prot opt in out source destination
34 3056 ACCEPT udp -- any any anywhere anywhere
2 88 ACCEPT tcp -- any any anywhere anywhere
0 0 zone_lan all -- br-lan any anywhere anywhere
0 0 zone_wan all -- eth0.2 any anywhere anywhere
Chain input_lan (1 references)
pkts bytes target prot opt in out source destination
Chain input_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_wan (1 references)
pkts bytes target prot opt in out source destination
Chain output (1 references)
pkts bytes target prot opt in out source destination
24 1463 zone_lan_ACCEPT all -- any any anywhere anywhe re
24 1463 zone_wan_ACCEPT all -- any any anywhere anywhe re
Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
Chain reject (5 references)
pkts bytes target prot opt in out source destination
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain syn_flood (1 references)
pkts bytes target prot opt in out source destination
1 48 RETURN tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50
0 0 DROP all -- any any anywhere anywhere
Chain zone_lan (1 references)
pkts bytes target prot opt in out source destination
0 0 input_lan all -- any any anywhere anywhere
0 0 zone_lan_ACCEPT all -- any any anywhere anywhe re
Chain zone_lan_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- br-lan any anywhere anywhere
0 0 ACCEPT all -- any br-lan anywhere anywhere
Chain zone_lan_DROP (0 references)
pkts bytes target prot opt in out source destination
0 0 DROP all -- br-lan any anywhere anywhere
0 0 DROP all -- any br-lan anywhere anywhere
Chain zone_lan_MSSFIX (0 references)
pkts bytes target prot opt in out source destination
0 0 TCPMSS tcp -- any br-lan anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
Chain zone_lan_REJECT (1 references)
pkts bytes target prot opt in out source destination
0 0 reject all -- br-lan any anywhere anywhere
0 0 reject all -- any br-lan anywhere anywhere
Chain zone_lan_forward (1 references)
pkts bytes target prot opt in out source destination
3 156 zone_wan_ACCEPT all -- any any anywhere anywhe re
0 0 forwarding_lan all -- any any anywhere anywher e
0 0 zone_lan_REJECT all -- any any anywhere anywhe re
Chain zone_wan (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
0 0 input_wan all -- any any anywhere anywhere
0 0 zone_wan_REJECT all -- any any anywhere anywhe re
Chain zone_wan_ACCEPT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- eth0.2 any anywhere anywhere
27 1619 ACCEPT all -- any eth0.2 anywhere anywhere
Chain zone_wan_DROP (0 references)
pkts bytes target prot opt in out source destination
0 0 DROP all -- eth0.2 any anywhere anywhere
0 0 DROP all -- any eth0.2 anywhere anywhere
Chain zone_wan_MSSFIX (1 references)
pkts bytes target prot opt in out source destination
3 156 TCPMSS tcp -- any eth0.2 anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
Chain zone_wan_REJECT (2 references)
pkts bytes target prot opt in out source destination
0 0 reject all -- eth0.2 any anywhere anywhere
0 0 reject all -- any eth0.2 anywhere anywhere
Chain zone_wan_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- any any anywhere 192.168.1.10 0 tcp dpt:20
0 0 ACCEPT udp -- any any anywhere 192.168.1.10 0 udp dpt:414
0 0 ACCEPT tcp -- any any anywhere 192.168.1.10 0 tcp dpt:414
0 0 ACCEPT udp -- any any anywhere 192.168.1.10 0 udp dpt:21
0 0 ACCEPT tcp -- any any anywhere 192.168.1.10 0 tcp dpt:21
0 0 forwarding_wan all -- any any anywhere anywher e
0 0 zone_wan_REJECT all -- any any anywhere anywhe re
a tutaj z iptables -v -L -t nat
Chain PREROUTING (policy ACCEPT 136 packets, 11206 bytes)
pkts bytes target prot opt in out source destination
18 4280 zone_wan_prerouting all -- eth0.2 any anywhere an ywhere
118 6926 zone_lan_prerouting all -- br-lan any anywhere an ywhere
136 11206 prerouting_rule all -- any any anywhere anywhe re
Chain POSTROUTING (policy ACCEPT 11 packets, 976 bytes)
pkts bytes target prot opt in out source destination
119 7209 postrouting_rule all -- any any anywhere anywh ere
119 7209 zone_wan_nat all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 73 packets, 4821 bytes)
pkts bytes target prot opt in out source destination
Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_lan (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination
Chain zone_lan_nat (0 references)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any br-lan anywhere anywhere
Chain zone_lan_prerouting (1 references)
pkts bytes target prot opt in out source destination
118 6926 prerouting_lan all -- any any anywhere anywher e
Chain zone_wan_nat (1 references)
pkts bytes target prot opt in out source destination
108 6233 MASQUERADE all -- any eth0.2 anywhere anywhere
Chain zone_wan_prerouting (1 references)
pkts bytes target prot opt in out source destination
18 4280 prerouting_wan all -- any any anywhere anywher e
0 0 DNAT tcp -- any any anywhere anywhere tcp dpt:21 to:192.168.1.100:21
0 0 DNAT udp -- any any anywhere anywhere udp dpt:21 to:192.168.1.100:21
0 0 DNAT tcp -- any any anywhere anywhere tcp dpt:413 to:192.168.1.100:414
0 0 DNAT udp -- any any anywhere anywhere udp dpt:413 to:192.168.1.100:414
0 0 DNAT tcp -- any any anywhere anywhere tcp dpt:20 to:192.168.1.100:20
Nie jestem informatykiem ale jak patrze na te "logi" to się wydaje że wszystko jest ok , ale jednak nie
Może trzeba jakoś ręcznie uruchomić forwarding?? albo jest jakiś inny sposob przekierowania , ewentualnie można by było otworzyć dane porty (niewiem jak to się robi ale wyczytałem że jest taka możliwość)
POZDRAWIAM!