D-Link Forums

D-Link DSL Modem/Routers => Other DSL modem/routers => Topic started by: veek on May 02, 2018, 06:57:50 AM

Title: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: veek on May 02, 2018, 06:57:50 AM
Hi, just bought a D-Link modem today. I can't find a way to turn off open ports that show up during a nmap scan of 192.168.1.1 (LAN Interface).
21/tcp   open  ftp
22/tcp   open  ssh
23/tcp   open  telnet
53/tcp   open  domain
80/tcp   open  http
5431/tcp open  park-agent
http://pix.toile-libre.org/?img=1525269241.png

I have turned off those services in the web interface to no avail:
http://pix.toile-libre.org/upload/original/1525269377.png
http://pix.toile-libre.org/upload/original/1525269405.png

Additionally the modem responds to ping on the LAN iface even if I disable ping (as above - on the LAN iface) - how do I turn that off?
Is there an updated firmware I can use? Can I return this modem - I need something secure and open ports are an invitation to  get owned (even if they are on the LAN/internal interface)
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: FurryNutz on May 02, 2018, 07:54:21 AM
Link>Welcome! (http://forums.dlink.com/index.php?topic=48135.0)


First make sure that your PCc and other devices are not actively using those ports. Port 53 and 80 and internet ports which are needed and maybe already open at the time of your test. Disable or turn OFF ALL other devices, close browsers, and any background running applications on 1 test PC.
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: veek on May 02, 2018, 08:35:50 AM
h/w version is I1
firmware version IN_R_01.00.05 (the shop must have flashed it to .05 because someones overwritten .01 on the nameplate details [bottom] with .05)
Location India
OS Linux

The open ports are ON THE MODEM.
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: FurryNutz on May 02, 2018, 08:39:09 AM
First make sure that your PCc and other devices are not actively using those ports. Port 53 and 80 and internet ports which are needed and maybe already open at the time of your test by a connected device. Disable or turn OFF ALL other devices, close browsers, and any background running applications on 1 test PC.

I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this. We find that phone contact has better immediate results over using email.

Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: GreenBay42 on May 02, 2018, 09:13:40 AM
Are you scanning to see vulnerabilities? If you do a port scan from your local network, there will always be open ports, especially scanning the LAN IP.

To test open ports on your modem/router that are exposed from the Internet, you need to scan the WAN IP address from the Internet, not your LAN.
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: veek on May 02, 2018, 09:25:28 AM
I'd like to turn off all unused services on the modem - BOTH LAN and WAN side. (I'm scanning the MODEM IP - 192.168.1.1 is the MODEM - wanted to see if the web interface was working as it should.. but it isn't.. to the best of my knowledge :( darn ports on the LAN-side of the modem don't turn off)
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: GreenBay42 on May 02, 2018, 09:43:42 AM
I am not familiar with this product or interface since it is not sold in the US.

From the 3rd screen shot, I believe you have to set the rule and click Add. The ACL table at the bottom is empty so the rule is not active.
Title: Re: DSL 2730U IN_R_01.00.01 How do I turn off ssh, telnet, ftp, park-agent, etc
Post by: veek on May 02, 2018, 11:44:18 PM
http://pix.toile-libre.org/upload/original/1525329534.png (http://pix.toile-libre.org/upload/original/1525329534.png)
So I added some ACL rules WAN - ping is allowed but for the LAN only telnet, web, and ping are allowed. Unfortunately I can ftp to the MODEM.. and ping it
http://pix.toile-libre.org/upload/original/1525329723.png
(http://pix.toile-libre.org/upload/original/1525329784.png)http://pix.toile-libre.org/upload/original/1525329784.png
(FTP from 192.168.1.100 --> 192.168.1.1)