Packets with destination TCP port 445 completely ignored by iptables - no rules processed (even DROP).
I compiled the firmware without any code in add_samba_rules() and del_samba_rules() functions... It didn't help. So it doesn't cause this issue.
I tried to find any code where 445 port...
Complete description of the test that I perform.
TEST PREPARATION:
I perform erase nvram from "ASUSTeK - CFE miniWeb Server" of the router.
I set WiFi password.
On http://192.168.1.1/Advanced_WAN_Content.asp I set:
WAN Connection Type: Static IP
IP Address: 172.16.0.1
Subnet Mask...
Thank you for the information!
Those rules are present in the return of iptables command, but only if the samba server is enabled in the router configuration and a USB flash drive connected to the router. I don't have a USB flash drive connected to the router, so smbd isn't running.
But...
There aren't any iptables rules for Samba in the ASUS firmware 3.0.0.4.374_134-g9d50e8b:
admin@RT-AC56U:/tmp/home/root# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state...
It's bad news for me. In Russia some ISPs have large internal networks and they have SAMBA servers in intranet. So my router completely block access to these resources.
However NAT translation is performed for 139 port.
Is any possibility to disable this behaviour for 445 port?
Hello!
Recently I bought the ASUS RT-AC56U router to share my Internet connection. However I found that using RT-AC56U I'm unable to access SAMBA shares in ISPs network. It's possible with any other router!
I found that the router doesn't perform NAT translation if destination port is TCP...