silver-moonshine Posted August 19, 2015 Share Posted August 19, 2015 Hi all, just wondering if anyone has any suggestions for a predicament I am in.I have a seagate NAS Drive which I have gained SSH Root access to. It runs a basic Linux Kernel and I can FTP to it as well it's currently running the standard FTP server it is provided with (not advertised but it has it) the FTP server is passive. I also have an online Digital Ocean Server with linux server.My end goal is to be able to drop my NAS drive where ever and it will auto run a remote SSH tunnel port forwarding the relevant ports to my cloud server, so where ever I am I can FTP to my cloud server and it shall connect me to my NAS without configuring any routers or firewalls, one issue I am having with the NAS is it is limited as to what I can install on it. I have reconfigured my opkg on it to connect to the open wrt opkg repo but so far nothing is compatible , the kernal it is running is 184.108.40.206-cavm1.whitney-econa.whitney-econa which I can only assume would be a seagate custom firmware for this device.either way so far I have managed to make scripts that run on startup and I can SSH out and IN but would like an idea of how to essentially make a remote connection to initiate a reverse FTP connection which can be forwarded. I cannot create a VPN Connection and from what I gather due to opkg limitations, I can't port forward 22, 21, and all relevant passive ports through one command via SSH as passive FTP uses a combo of high end different ports each time.it would be brilliant if there was such a command as ssh -D user@"server" but I have been using a combo of SSH -R 20:localhost:20 -R 21:localhost:20 user@"ip" with public keys for no auth and an alternation of high end ports but this way everything stumbles after bumping past the auth as passive selects a random high end port. though I know a LAN turtle would be a Brilliant option I have yet to get my self one and i'm looking for a literal "dropbox" solution that I can drop in any location and it will connect to my server regardless. so weather its somehow make the FTP server active which after hours of research and multiple ocasions of busting my FTP server then re fixing I don't know how to do or as suggested before running a script on the nas that opens some form of reverse FTP to my Cloud If anyone has any ideas i'm all ears, I have been trying this many different ways now for the past week and have only just decided to seek help. any suggestions?Thank you in advance if anyone responds. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.