Ik ken alleen de DSM versie, maar in Linux ziet het er als volgt uit:
GedeeldeData> iptables -L --line-numbers
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 DOS_PROTECT all -- anywhere anywhere
2 ACCEPT all -- anywhere anywhere
3 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
4 ACCEPT all -- 10.0.1.60 anywhere
5 ACCEPT all -- 10.0.1.61 anywhere
6 ACCEPT all -- 10.0.1.20 anywhere
7 ACCEPT all -- 10.0.1.22 anywhere
8 ACCEPT tcp -- 59-120-41-39.HINET-IP.hinet.net anywhere multiport dports http,5000,ssh,telnet
9 ACCEPT tcp -- 118-163-30-16.HINET-IP.hinet.net anywhere multiport dports http,5000,ssh,telnet
10 ACCEPT tcp -- 125-227-152-103.HINET-IP.hinet.net anywhere multiport dports http,5000,ssh,telnet
11 DROP tcp -- anywhere anywhere tcp dpt:telnet
12 DROP all -- 81.18.240.0/20 anywhere
13 DROP all -- anywhere anywhere source IP range 89.248.170.8-89.248.171.127
14 DROP all -- 89.248.168.0/24 anywhere
15 DROP all -- 93.174.88.0/21 anywhere
16 DROP all -- 94.102.48.0/20 anywhere
17 ACCEPT tcp -- 10.0.0.0/22 anywhere multiport dports afs3-fileserver,9007,9008,8800,8801,8000,8001,9900,6690,smtp,smtps,imaps,50002,50001,domain
18 ACCEPT tcp -- 10.0.0.0/22 anywhere multiport dports ldap,ldaps,9025:9040,afpovertcp,netbios-ns,netbios-dgm,netbios-ssn,microsoft-ds,sunrpc,892,nfs,5005,rsync,5000
19 ACCEPT udp -- 10.0.0.0/22 anywhere multiport sports 19997,65001,5004,rfe,netbios-ns
20 ACCEPT udp -- 10.0.0.0/22 anywhere multiport dports bootpc,bootps,ntp,syslog,syslog,19998,1900,domain,65001,5004,rfe,5353,sunrpc,892,nfs
21 ACCEPT udp -- 10.0.0.0/22 anywhere multiport dports 1234,9997,9998,9999
22 ACCEPT tcp -- anywhere anywhere Source country: TW tcp dpt:5000
23 ACCEPT tcp -- anywhere anywhere Source countries: BE,NL multiport dports afs3-callback,9901,6281,6690,smtps,imaps,ldap,ldaps,1723,ftp,55536:55539,5006,https,http
24 ACCEPT tcp -- anywhere anywhere Source countries: BE,NL multiport dports 5001,5000,ssh
25 ACCEPT udp -- anywhere anywhere Source countries: BE,NL udp spt:19997
26 ACCEPT udp -- anywhere anywhere Source countries: BE,NL multiport dports tftp,19998,l2tp,4500,isakmp
27 ACCEPT 47 -- anywhere anywhere Source countries: BE,NL
28 ACCEPT esp -- anywhere anywhere Source countries: BE,NL
29 ACCEPT ah -- anywhere anywhere Source countries: BE,NL
30 ACCEPT tcp -- anywhere anywhere multiport dports smtp,smtps,submission
31 ACCEPT udp -- anywhere anywhere udp dpt:1194
32 DROP all -- anywhere anywhere
33 ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain DOS_PROTECT (1 references)
num target prot opt source destination
1 RETURN icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
2 DROP icmp -- anywhere anywhere icmp echo-request
3 RETURN tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
4 DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST
5 RETURN tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 10000/sec burst 100
6 DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
GedeeldeData>
Het is globaal gelijk aan de DSM versie, maar ik zie toch verschillen. ik start b.v. met een IPv6 adres van mijn mac toe te staan. Die vind ik in de iptables niet terug. (staat waarschijnlijk in een specifieke IPv6 tabel?)
De eerste 4 10.0.1.x adressen zijn van mijn macs en die staan als eerste en zouden dus altijd toegang moeten hebben. Ik zie hier ook geen reden tot de blokkade.
Regel 1 zegt me eigenlijk niets en regel 2 & 3 komen voor mij uit de lucht vallen.