Port Forwarding Local FTP Server












0















I have two routers set up I my home, the default Verizon router that comes with my ISP and a Linksys EA6350 which I set to cascade my Verizon router. The linksys router also comes with a built in ftp server that I am using with my external hard drive. The problem with this is that since this router is not connected to the Internet, the ftp server is for my LAN only. When i tried to port forward on my Verizon router, I forwarded port 21 and to 192.168.1.4 which is the LAN ip address of the linksys router. But now when I test if the port is open on canyouseeme.org,its showing that port number 21 is blocked. Can someone help me fix this please?










share|improve this question

























  • Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

    – SΛLVΘ
    Nov 8 '15 at 17:23













  • The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

    – Vinay
    Nov 8 '15 at 18:38











  • Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

    – Vinay
    Nov 8 '15 at 19:42











  • For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

    – Vinay
    Nov 8 '15 at 20:26











  • FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

    – Ron Maupin
    Nov 9 '15 at 3:20
















0















I have two routers set up I my home, the default Verizon router that comes with my ISP and a Linksys EA6350 which I set to cascade my Verizon router. The linksys router also comes with a built in ftp server that I am using with my external hard drive. The problem with this is that since this router is not connected to the Internet, the ftp server is for my LAN only. When i tried to port forward on my Verizon router, I forwarded port 21 and to 192.168.1.4 which is the LAN ip address of the linksys router. But now when I test if the port is open on canyouseeme.org,its showing that port number 21 is blocked. Can someone help me fix this please?










share|improve this question

























  • Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

    – SΛLVΘ
    Nov 8 '15 at 17:23













  • The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

    – Vinay
    Nov 8 '15 at 18:38











  • Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

    – Vinay
    Nov 8 '15 at 19:42











  • For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

    – Vinay
    Nov 8 '15 at 20:26











  • FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

    – Ron Maupin
    Nov 9 '15 at 3:20














0












0








0








I have two routers set up I my home, the default Verizon router that comes with my ISP and a Linksys EA6350 which I set to cascade my Verizon router. The linksys router also comes with a built in ftp server that I am using with my external hard drive. The problem with this is that since this router is not connected to the Internet, the ftp server is for my LAN only. When i tried to port forward on my Verizon router, I forwarded port 21 and to 192.168.1.4 which is the LAN ip address of the linksys router. But now when I test if the port is open on canyouseeme.org,its showing that port number 21 is blocked. Can someone help me fix this please?










share|improve this question
















I have two routers set up I my home, the default Verizon router that comes with my ISP and a Linksys EA6350 which I set to cascade my Verizon router. The linksys router also comes with a built in ftp server that I am using with my external hard drive. The problem with this is that since this router is not connected to the Internet, the ftp server is for my LAN only. When i tried to port forward on my Verizon router, I forwarded port 21 and to 192.168.1.4 which is the LAN ip address of the linksys router. But now when I test if the port is open on canyouseeme.org,its showing that port number 21 is blocked. Can someone help me fix this please?







networking router ftp port-forwarding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 27 at 13:39









Hennes

59.3k793143




59.3k793143










asked Nov 8 '15 at 17:05









VinayVinay

12




12













  • Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

    – SΛLVΘ
    Nov 8 '15 at 17:23













  • The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

    – Vinay
    Nov 8 '15 at 18:38











  • Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

    – Vinay
    Nov 8 '15 at 19:42











  • For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

    – Vinay
    Nov 8 '15 at 20:26











  • FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

    – Ron Maupin
    Nov 9 '15 at 3:20



















  • Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

    – SΛLVΘ
    Nov 8 '15 at 17:23













  • The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

    – Vinay
    Nov 8 '15 at 18:38











  • Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

    – Vinay
    Nov 8 '15 at 19:42











  • For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

    – Vinay
    Nov 8 '15 at 20:26











  • FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

    – Ron Maupin
    Nov 9 '15 at 3:20

















Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

– SΛLVΘ
Nov 8 '15 at 17:23







Is Verizon connected to Linksys yellow port? bit.ly/1NCsx8O In that case, you probably need to open port(s) of Linksys to&fro WAN.

– SΛLVΘ
Nov 8 '15 at 17:23















The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

– Vinay
Nov 8 '15 at 18:38





The Verizon is connected to the Lan port of the linksys. It is a Lan to lan connection

– Vinay
Nov 8 '15 at 18:38













Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

– Vinay
Nov 8 '15 at 19:42





Yes I can connect internally using Chrome. I'm away from home at the moment but the router model is mi424wr Rev e

– Vinay
Nov 8 '15 at 19:42













For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

– Vinay
Nov 8 '15 at 20:26





For what it's worth, the port forwarding is working after a closed inspection of the Verizon logs. The problem lies in the linksys router.

– Vinay
Nov 8 '15 at 20:26













FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

– Ron Maupin
Nov 9 '15 at 3:20





FTP uses two ports, 21 to open communication with the server, and 20 to transfer data.

– Ron Maupin
Nov 9 '15 at 3:20










1 Answer
1






active

oldest

votes


















2














Thoughts




  • Something may be blocking port 21 for some reason. From what I can google, Verizon doesn't block port 21 but you may wish to try a different control port (e.g. 2222) for the outside connection anyway. This may add a tiny layer of security as well from people scanning port 21 for hackable FTP servers.


  • Toggle connection modes of your client. There is "active" (PORT) and "passive" (PASV) mode FTP and this essentially governs who gets to tell whom what address/ports to use (the client or the server). This makes a difference. For FTP to work behind Firewalls/NAT, PASV mode is often necessary/preferred.


  • You may need to open more ports. Port 21 is just a control port. Most data transfer takes place on a range of higher ports (e.g. 9000-10000) which you may have to forward in your router as well (this occurs in "PASV" mode). With "PORT" mode, you may need to open/forward Port 20 for additional data communications.







share|improve this answer


























  • According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

    – SΛLVΘ
    Nov 9 '15 at 6:49













  • While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

    – Anaksunaman
    Nov 9 '15 at 8:13











  • Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

    – SΛLVΘ
    Nov 9 '15 at 8:17











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f997792%2fport-forwarding-local-ftp-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Thoughts




  • Something may be blocking port 21 for some reason. From what I can google, Verizon doesn't block port 21 but you may wish to try a different control port (e.g. 2222) for the outside connection anyway. This may add a tiny layer of security as well from people scanning port 21 for hackable FTP servers.


  • Toggle connection modes of your client. There is "active" (PORT) and "passive" (PASV) mode FTP and this essentially governs who gets to tell whom what address/ports to use (the client or the server). This makes a difference. For FTP to work behind Firewalls/NAT, PASV mode is often necessary/preferred.


  • You may need to open more ports. Port 21 is just a control port. Most data transfer takes place on a range of higher ports (e.g. 9000-10000) which you may have to forward in your router as well (this occurs in "PASV" mode). With "PORT" mode, you may need to open/forward Port 20 for additional data communications.







share|improve this answer


























  • According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

    – SΛLVΘ
    Nov 9 '15 at 6:49













  • While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

    – Anaksunaman
    Nov 9 '15 at 8:13











  • Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

    – SΛLVΘ
    Nov 9 '15 at 8:17
















2














Thoughts




  • Something may be blocking port 21 for some reason. From what I can google, Verizon doesn't block port 21 but you may wish to try a different control port (e.g. 2222) for the outside connection anyway. This may add a tiny layer of security as well from people scanning port 21 for hackable FTP servers.


  • Toggle connection modes of your client. There is "active" (PORT) and "passive" (PASV) mode FTP and this essentially governs who gets to tell whom what address/ports to use (the client or the server). This makes a difference. For FTP to work behind Firewalls/NAT, PASV mode is often necessary/preferred.


  • You may need to open more ports. Port 21 is just a control port. Most data transfer takes place on a range of higher ports (e.g. 9000-10000) which you may have to forward in your router as well (this occurs in "PASV" mode). With "PORT" mode, you may need to open/forward Port 20 for additional data communications.







share|improve this answer


























  • According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

    – SΛLVΘ
    Nov 9 '15 at 6:49













  • While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

    – Anaksunaman
    Nov 9 '15 at 8:13











  • Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

    – SΛLVΘ
    Nov 9 '15 at 8:17














2












2








2







Thoughts




  • Something may be blocking port 21 for some reason. From what I can google, Verizon doesn't block port 21 but you may wish to try a different control port (e.g. 2222) for the outside connection anyway. This may add a tiny layer of security as well from people scanning port 21 for hackable FTP servers.


  • Toggle connection modes of your client. There is "active" (PORT) and "passive" (PASV) mode FTP and this essentially governs who gets to tell whom what address/ports to use (the client or the server). This makes a difference. For FTP to work behind Firewalls/NAT, PASV mode is often necessary/preferred.


  • You may need to open more ports. Port 21 is just a control port. Most data transfer takes place on a range of higher ports (e.g. 9000-10000) which you may have to forward in your router as well (this occurs in "PASV" mode). With "PORT" mode, you may need to open/forward Port 20 for additional data communications.







share|improve this answer















Thoughts




  • Something may be blocking port 21 for some reason. From what I can google, Verizon doesn't block port 21 but you may wish to try a different control port (e.g. 2222) for the outside connection anyway. This may add a tiny layer of security as well from people scanning port 21 for hackable FTP servers.


  • Toggle connection modes of your client. There is "active" (PORT) and "passive" (PASV) mode FTP and this essentially governs who gets to tell whom what address/ports to use (the client or the server). This makes a difference. For FTP to work behind Firewalls/NAT, PASV mode is often necessary/preferred.


  • You may need to open more ports. Port 21 is just a control port. Most data transfer takes place on a range of higher ports (e.g. 9000-10000) which you may have to forward in your router as well (this occurs in "PASV" mode). With "PORT" mode, you may need to open/forward Port 20 for additional data communications.








share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 9 '15 at 8:16

























answered Nov 9 '15 at 3:15









AnaksunamanAnaksunaman

5,56321322




5,56321322













  • According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

    – SΛLVΘ
    Nov 9 '15 at 6:49













  • While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

    – Anaksunaman
    Nov 9 '15 at 8:13











  • Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

    – SΛLVΘ
    Nov 9 '15 at 8:17



















  • According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

    – SΛLVΘ
    Nov 9 '15 at 6:49













  • While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

    – Anaksunaman
    Nov 9 '15 at 8:13











  • Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

    – SΛLVΘ
    Nov 9 '15 at 8:17

















According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

– SΛLVΘ
Nov 9 '15 at 6:49







According to this scheme server's port 20 starts communication, thus there shouldn't be need for port forwarding. Moreover, that port is needed just on active FTP, is this the case?

– SΛLVΘ
Nov 9 '15 at 6:49















While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

– Anaksunaman
Nov 9 '15 at 8:13





While it's is true that outgoing connections are unlikely to be blocked, note step 4 where the client responds to port 20. I would say this warrants perhaps considering opening/forwarding the port (since incoming communications are often blocked). Perhaps I worded this too strongly. Note this scheme for PASV -- slacksite.com/images/ftp/passiveftp.gif -- where port 20 is omitted. A random port substitutes for the data communication that normally occurs on port 20 for active FTP from the server (so no, it isn't needed).

– Anaksunaman
Nov 9 '15 at 8:13













Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

– SΛLVΘ
Nov 9 '15 at 8:17





Correct, port 20 is involved just for active FTP. According to TCP, reply should go thru the router, as communication started from LAN.

– SΛLVΘ
Nov 9 '15 at 8:17


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f997792%2fport-forwarding-local-ftp-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Brian Clough

Cáceres