xendi
Occasional Visitor
This is a disaster. I have the FTP Share enabled with anonymous login, which should be no problem because I have "Enable WAN Access" disabled. Out of curiosity, I ran nmap on my WAN's IP address. The results:
I thought "This can't be happening." So I fired up filezilla and connected to my public IP via my asuscomm DDNS address. It connected to the anonymous account! What's even worse, it not only exposes my media server but also my tertiary entware/swap drive. I also happen to be using the policy-based VPN client so it's not like the router should be letting this IP access the FTP server. Let's test that anyway.
I logged into a remote server and tried to connect to the IP via FTP. It didn't work. I ran nmap from the server and it didn't show any open ports. This is suspicious though because I do have the ovpn server running. My idea now is that the router is (For some reason) blocking my remote server altogether. That seems unlikely though so I fired up my local VPN client.
I connected to a VPN server in a far away land (Bulgaria). No FTP connection possible from that IP. I switched to a closer location (One city away in case some geo-blocking was happening, however unlikely). No connection to FTP possible.
Conclusions:
The FTP server is allowing connections from anyone who has the same IP address that my VPN Client is assigned by my VPN provider. This means that anyone who is using the same VPN service as I am can access protected resources on my LAN. I suspect this affects more than just the FTP server given that port scan result. What to do?
Code:
PORT STATE SERVICE
21/tcp open ftp
8200/tcp open trivnet1 (The DLNA server)
I thought "This can't be happening." So I fired up filezilla and connected to my public IP via my asuscomm DDNS address. It connected to the anonymous account! What's even worse, it not only exposes my media server but also my tertiary entware/swap drive. I also happen to be using the policy-based VPN client so it's not like the router should be letting this IP access the FTP server. Let's test that anyway.
I logged into a remote server and tried to connect to the IP via FTP. It didn't work. I ran nmap from the server and it didn't show any open ports. This is suspicious though because I do have the ovpn server running. My idea now is that the router is (For some reason) blocking my remote server altogether. That seems unlikely though so I fired up my local VPN client.
I connected to a VPN server in a far away land (Bulgaria). No FTP connection possible from that IP. I switched to a closer location (One city away in case some geo-blocking was happening, however unlikely). No connection to FTP possible.
Conclusions:
The FTP server is allowing connections from anyone who has the same IP address that my VPN Client is assigned by my VPN provider. This means that anyone who is using the same VPN service as I am can access protected resources on my LAN. I suspect this affects more than just the FTP server given that port scan result. What to do?
Last edited: