n3w_g3n3rat10n Posted June 15, 2009 Share Posted June 15, 2009 Hi, I am using netcat and have 2 computers (XP). On computer A I say netcat to listen on 1235 and execute cmd (nc -v -L -p 1235 -e cmd.exe) On computer B I try to connect to computer A with the command (nc 192.168.1.2 1235) and it connects just fine. BUT if I put instead of 192.168.1.2 the external ip of computer A, it does not work (nc 94.67.xx.xx 1235) Does someone know why?? Quote Link to comment Share on other sites More sharing options...
Sparda Posted June 15, 2009 Share Posted June 15, 2009 Hi, I am using netcat and have 2 computers (XP). On computer A I say netcat to listen on 1235 and execute cmd (nc -v -L -p 1235 -e cmd.exe) On computer B I try to connect to computer A with the command (nc 192.168.1.2 1235) and it connects just fine. BUT if I put instead of 192.168.1.2 the external ip of computer A, it does not work (nc 94.67.xx.xx 1235) Does someone know why?? if they are behind a router you would need to forward the port on the router to the correct internal address. But you really don't want to do that as any one would be able to connect to the listening port. It would be telnet but without the plain text authentication! You should use FreeSSHd instead. Quote Link to comment Share on other sites More sharing options...
n3w_g3n3rat10n Posted June 15, 2009 Author Share Posted June 15, 2009 ok tnx, but do you know an ftp server that woks only on cmd so that I can install it quetly and set the parameters with a batch file Quote Link to comment Share on other sites More sharing options...
SomethingToChatWith Posted June 16, 2009 Share Posted June 16, 2009 ftp /? The ftp command well allow you to interact with a ftp server via the command line if that's what ya mean. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.