cherio
New Around Here
Hello,
I am an experienced Linux user but this is my 1st ASUS Router (RT-AX88U, Merlin 388.1). When I setup and configure a new linux instance the 1st thing I do is get rid of unnecessary services and secure it on the network.
I am interested in eliminating as many unnecessary holes as possible. While WAN scan revealed nothing
the LAN facing interface seems to expose a bit too much.
While I understand the need for DNS (53, 5353), HDCP (67) and obviously SSH and HTTPS for administration, I do not believe I need any other service. I'll NAT some outside ports in future but I am not planning to use the router for gaming, downloads, VPN, fileserver or serve content from it.
These are open ports I am not very familiar with:
I do not need (correct me if I am wrong):
These I am not aware of and likely don't need:
================================
The scans below are purely informational.
First I retrieved opened ports from the router in an SSH session with
I am an experienced Linux user but this is my 1st ASUS Router (RT-AX88U, Merlin 388.1). When I setup and configure a new linux instance the 1st thing I do is get rid of unnecessary services and secure it on the network.
I am interested in eliminating as many unnecessary holes as possible. While WAN scan revealed nothing

While I understand the need for DNS (53, 5353), HDCP (67) and obviously SSH and HTTPS for administration, I do not believe I need any other service. I'll NAT some outside ports in future but I am not planning to use the router for gaming, downloads, VPN, fileserver or serve content from it.
These are open ports I am not very familiar with:
5152 tcp sde-discovery or games
3702 tcp,udp ws-discovery UPNP v2 Discovery
7788 tcp,udp config synchronisation between AiMesh nodes
18017 tcp wanduck
18018 udp unassigned, ??? wanduck ???
9999 udp likely games
33251 udp avahi-daemon
59000 tcp,udp applications Tekkotsu, Cisco Agent Desktop
I do not need (correct me if I am wrong):
- Microsoft 137, 138, 139, 445 services
- 18017/18018 WAN DUCK. (SSH and HTTPS are enough for management)
- 7788 - config synchronisation between AiMesh nodes
- 9999 - router discovery: https://github.com/jduck/asus-cmd
These I am not aware of and likely don't need:
- 5152 & 3702 discovery ports. I'm not planning on running DNLA or serve content from the router
- 59000 - whatever it is
================================
The scans below are purely informational.
First I retrieved opened ports from the router in an SSH session with
netstat -tulpn
and then ran nmap
against those ports from within the network:$> nmap -p 139,18017,3702,445,5152,53,7788 asus-router
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-03 00:00 UTC
Nmap scan report for asus-router (192.168.0.1)
Host is up (0.014s latency).
PORT STATE SERVICE
53/tcp open domain
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3702/tcp open ws-discovery
5152/tcp filtered sde-discovery
7788/tcp open unknown
18017/tcp open unknown
MAC Address: xx:xx:xx:xx:xx:xx (Asustek Computer)
$> nmap -sU -p 137,138,18018,33251,3702,53,5353,59000,67,7788,9999 asus-router
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-03 00:00 UTC
Nmap scan report for asus-router (192.168.0.1)
Host is up (0.0055s latency).
PORT STATE SERVICE
53/udp open domain
67/udp open dhcps
137/udp open netbios-ns
138/udp open|filtered netbios-dgm
3702/udp open|filtered ws-discovery
5353/udp open zeroconf
7788/udp open|filtered unknown
9999/udp open|filtered distinct
18018/udp open|filtered unknown
33251/udp open|filtered unknown
59000/udp open|filtered unknown
MAC Address: xx:xx:xx:xx:xx:xx (Asustek Computer)
Last edited: