Create FTP server to be accessed via external network

We will be configuring our routing settings for this. Start by, opening the Command Prompt command line by searching for cmd in the Cortana search box or hit WINKEY+R to launch the Run utility and type cmd and hit Enter. Now, type in the following command to get the details about your network-

You need to now note down the Default Gateway IP Address. It will be in the format of 192.xxx.xxx.xxx where the number of digits in each block is maximum to 3. Now, open the default web browser installed on your computer and type in that address in the address bar and hit Enter. When you get a prompt for the credentials, enter the username and password for your router and log in.

Navigate to the WAN or NAT settings and look up for Port Forwarding. Now, you need to configure the port forwarding settings as the following settings,

Service Name – Name it anything you like.Port Range – You need to use 21 as the port number only.Local IP – Get the IPv4 value from the results you get from the ipconfig command above and enter it here.Local Port – You need to use 21 again only. No other value should be used.Protocol – Use TCP as the protocol to be used.

Once done, you need to save and apply the changes. This should finally enable accessibility of your FTP Server from an external network via the Internet on both Client and Server end. But before all this, you need to create and configure an FTP Server on Windows 11/10.