Recommended Posts

Is it possible to access SSH/FTP through port tunnelling or proxy or something?

I'm not exactly sure what i'm asking for but the problem i'm facing is: i want to access my home NAS (linux) box from work. However my works proxy is pretty much locked down i can't ftp, ssh, ftps.. everything is pretty much blocked.

I can WebDAV into the box, as expected as this is port 80.. so is there any way i can access ssh/ftp over port 80? Obviously i can't listen on port 80 since it's already in use but i can change the ports to anything else not in use.

WebDAV would be suitable but since it treats all files like http requests it's hard to do web development from the box, if there is an error in the PHP file. then opening the file will just display the error, rather than the code. It's the same with .htaccess files and such, they are blocked from direct http access.

I'm not sure if either solution would be possible:

- Make WebDAV work like FTP... may be some apache configs or something?

- Port tunnelling or some sort of service to allow access to FTP/SSH over a proxy?

I don't need a lecture about trying to go outside of company networks, policies or going around firewalls. I manage the whole network it is the external firewalls whats blocking but the guys who manage it are a nightmare ignore emails and never get the job done. I've been complaining about FTP access for years as we struggle to update our own website, they say it should work, logs say otherwise.. They haven't given me full access to the proxy firewall, even though they should, i've given up trying and want to see if there is another method?

Who said anything about the NAS running on 443? Have you router forward 443 to 22. Use a different box to tunnel into your network, then access what you want over that tunnel. Use openvpn to your router/otherbox on 443, then connect to whatever you want, etc.

What router do you have? if you have one that runs Tomato or DDWRT you could run the SSH server on port 443 then forward ports to services running on your nas.

I do this as a quick and secure way of connecting to my home server.

I use openvpn over 443 to my router, then I can access anything I want on my local network. What is nice about openvpn is you can even bounce it off a proxy if all they do is allow your proxy to access the internet.

Sure you can use ssh as your poor mans vpn, tunnel through it to what you want. If all you need is access to a couple of devices/services on the remote network that works fine. But its much easier when you have access to everything on the remote network without having to create specific tunnels through the ssh connection.

As to your ftp not working -- are you using active or passive? If your running through a double nat - ie your end and the remote end. And there is no helpers on the firewalls to change ports. Server not setup correctly to hand out its public ip, etc. etc. Then yeah you can have issues with that.

Can you not even get the control connection on port 21? Are you trying to use ftps? What ports?

Here is a good writeup on how active and passive ftp work, once you understand how the connections are made in each method it can help you figure out what is not setup correctly on your ftp server to allow access, etc.

http://slacksite.com/other/ftp.html

I have a rubbish Virgin Media SuperHub which is a NETGEAR VMDG480 so i'm not sure what capabilities it will have i'll check when i return home.

VPN will require some reading i'm not 100% on it never done it before however my NAS does have a VPN server capabilities no sure if that would help?

FTP i've tried passive and active;

Blocked logs just show this:

May 30 13:59:20  reject_Trusted/Internet LAN 1? 10.83.112.36 59277 81.100.2X7.XX 21 TCP[/CODE]

Also does this for 22.

Where did you pull that log entry from? Your locations firewall/proxy?

Yeah never going to work if you can not connect to the control port. What nas do you have? If it has vpn, I would guess some proprietary vpn -- maybe its openvpn?

Would have to check the manual for your router - but if some modified device for use with a specific isp, they might have removed the bells and whistle type features. Not sure I would call forwarding port X to private ip port Y a bell or even a whistle. But yeah that would make it a bit more difficult if not there, would have to then change the actual listen port on the device running the service -- which might not be an option if some appliance type nas? Do you have any other PC or something you could use to run either SSH or openvpn? So for example you can pickup like a pogo for like $25.

Where did you pull that log entry from? Your locations firewall/proxy?

Yeah never going to work if you can not connect to the control port. What nas do you have? If it has vpn, I would guess some proprietary vpn -- maybe its openvpn?

Would have to check the manual for your router - but if some modified device for use with a specific isp, they might have removed the bells and whistle type features. Not sure I would call forwarding port X to private ip port Y a bell or even a whistle. But yeah that would make it a bit more difficult if not there, would have to then change the actual listen port on the device running the service -- which might not be an option if some appliance type nas? Do you have any other PC or something you could use to run either SSH or openvpn? So for example you can pickup like a pogo for like $25.

That log is from my works cachepilot/proxy from when i try to connect to anything except http/https on my works network.

I have a QNAP TS219P II and it has OpenVPN - the information on that: http://docs.qnap.com/nas/en/vpn_service.htm?zoom_highlightsub=vpn

My router definitely has some sort of port forwarding features.

Well I would hope it have port forwarding ;) But can you forward port X to port Y is the question, this is not an uncommon feature - really should be standard type setup.. But you never know with these isp modified devices.

If your nas supports - the question is can you get it to listen on tcp port X vs the standard udp openvpn 1194 port.

If you can get it to listen and use tcp on 443 then you should be be good to go with openvpn setup.

I'm not sure here is the admin screens:

http://screenshots.portforward.com/routers/Virgin_Media/CG3101D/Port_Forwarding.jpg

http://1.bp.blogspot.com/-Het12XEXyVM/Tw24KPP0bBI/AAAAAAAAAcA/TCwzuTkPdR0/s1600/001%252520%25282%2529%255B3%255D.png

When i try to set OpenVPN Server port to TCP 443 on the NAS it says the same 'This port is reserved for other services' - That's so annoying considering i've disabled everything it uses.

Are you sure you're forwarding your ports properly? SImply tried rebooting or updating the firmware?

Next to that, I'm not sure whether you've got a consumer or business membership, but I suspect Virgin might be using the port for some sort of remote management of the router. Have you to just use tcp port 80 or tried using another router? I'd like to suggest using a router that can be flashed with DD-WRT or OpenWRT or a professional router with Cisco IOS (not the SOHO/SMB crap), because it offers advanced options and lets you mimic most requirements or special settings required by an ISP (not sure how closed down Virgin is).

Another 'dirty' solution would be using a reverse NAT based rule that would publish your data to another external (3rd party) service that offers access through the webbrowser in case you really need it, but securitywise this is generally not a good idea.

Another 'dirty' solution would be just to open a port on the router (not forwarding it to anything, if your router supports it), then connect to your router on that source port and sort of re-direct the traffic to another destination port (with an SSH client or some sort of client which would support it ofc).

Yes forwarding ports correctly the NAS does it automatically as soon as i change port on a service it automatically updates on the router i've confirmed it works. rebooted yes firmware is latest.

i think VM use 8080 for remote.

I've tried connecting to VPN on some known unused ports but no joy at all, i need 443 but the stupid NAS won't take it.

I'm going to check on their support forums to see if there is a way to free it or change from the command line.

Other than that i think my only option is tunneling on port 80 or 443? to 22 or whatever on my NAS. but still struggling with this?

The SuperHub port forwarding is hopeless and does not support what you want for mapping external port to different internal port better to just get your own router really.

For tunnelling you could use FreeProxy.

http://www.handcraftedsoftware.org/index.php?page=download&op=getFile&id=2&title=FreeProxy-Internet-Suite

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You sound like some eastern Ukrainians before the war: "I didn't vote for USSR disbanding - I want Ukraine to be part of Russia again" 🤣
    • Uninstalr 3.1 by Razvan Serea Introducing Uninstalr: Easy to use and very accurate software uninstaller for Windows. It can uninstall multiple apps at the same time and we think it’s pretty cool. Developed with expertise by Macecraft Software - the minds behind jv16 PowerTools. Key Features Batch uninstall many apps at the same time. Supports unattended uninstallation of apps. Supports monitoring of new software installations. Also detects portable apps and previously uninstalled software leftovers. Shows all the data added to your system by installed software on a file by file basis. Shows all the data it will remove before starting the uninstallation. Filter and search the list of installed software. According to our benchmark, Uninstalr is the most accurate software uninstaller by leaving the least amount of leftovers when uninstalling apps. Supports detection and uninstallation of Microsoft Store, Steam, Big Fish Game System, Chocolatey, NuGet and Ninite installed software. Supports Windows Dark Mode. Supports Windows 11, 10, 8 and 7. Comes with these translations builtin: Chinese Simplified, Chinese Traditional, Czech, Danish, English, Filipino, Finnish, French, German, Greek, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Romanian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian and Vietnamese. Has a single executable file portable version and a normal setup version. Uninstalr is freeware, lightweight and easy to use. No bells and whistles, no nonsense. Uninstalr’s custom uninstallation engine has a dedicated support for the detection and uninstallation of 15 types of apps: Normal Windows apps Microsoft Store apps Portable apps Chocolatey apps Ninite apps PortableApps.com apps Steam games EA App games Epic Games Store games Riot platform games GOG Galaxy games WarGaming.net games Battle.net games itch.io games Big Fish platform games Uninstalr 3.1 changelog: Key Changes Uninstalr now starts and shows the list of installed apps faster after the initial scan has been completed, and with much smaller memory usage. Uninstalr now detects and highlights apps that automatically start with Windows. Greatly improved the detection of portable apps. Improvements New feature: Uninstalr now detects and highlights apps that automatically start with Windows. New feature: Uninstalr now highlights possible leftovers and apps from Russia and China. This can be disabled from the Settings. New feature: A new filter that allows you to show only software that is installed to other than the system drive. New feature: Users can now select to always do the deepest and the most accurate scan for installed apps, at the cost of the analysis taking a longer time. Greatly improved the detection of portable apps, such as added dedicated support for MiTeC, EZ Tools and SysInternals tools. Improved support for portable apps installed via Windows System Control Center (WSCC). NirSoft portable apps are now listed with "NirSoft" prefix for easier identification. Improved the speed of uninstalling apps. The main installed software listing search will now find "Xbox GameBar" if you search for "Game bar" and vice versa. The tooltip now displays more detailed information of the installed apps, such as its registry key and uninstaller path. The links in the About section now look more like clickable links. The main menu is now more clearly indicated in the main user interface. Microsoft Teams Meeting Add-in for Microsoft Office ships with some Windows 11 installations and is now considered a builtin Windows app and only listed if builtin Windows apps filter is enabled. Added a Help button to the main user interface that opens the help section of the website. Added an option not to close Uninstalr after uninstallation. If you open the Uninstalr website from the app, the website now receives the version number of your current Uninstalr version and warns you if you are using anything but the latest version. Improved the accuracy of the New Software Monitor. Improved confirmation messages for Steam and other platform related uninstalls. Improved the uninstallation performance of Steam games. Fixes: Known bug fixed: Some installed app names are capitalized incorrectly, such as "CCleaner Portable" is listed as "ccleaner portable". Known bug fixed: Some apps can be listed twice, for example, Smart Defrag can be listed once as Smart Defrag and then Smart Defrag Home. Known bug fixed: On the pre-uninstallation screen, the Scripts checkbox can be checked by default on Dark Mode but not on the normal mode. Known bug fixed: Perform Deep Analysis can be started only by clicking the button, not via the Right Click menu, main menu or F4 keyboard shortcut. Muse Hub could be incorrectly listed as Adobe Muse. SyncTrayzor was incorrectly detected as two unrelated software, SyncTrayzor and Syncthing. Smart Defrag was incorrectly listed twice as Smart Defrag 11 and Smart Defrag Home. It was possible to enter non-printable characters to the search input boxes of the main screen, and the path listing screen, which caused the UI to look funny. Changing the translation from Settings, especially many times in a row, caused the UI to distort. If you had multiple instances of portable apps on your system, such as the 64b and 32b versions of the same portable app, typically only one of them was detected, not both. In some very rare cases, Uninstalr UI could start with random characters in its search input boxes, which could make the UI look rather confusing. This was a rare issue, only reported by two users. The pre-uninstallation screen could display non-existing paths for example as the software's installation directory or main exe file. This was a cosmetic issue. New Software Monitor cannot detect the installation of Claude. Selecting all the found software made the UI look funny with the top panel covering everything else (because the names of all the selected software were listed there). Sometimes a Steam game could be listed a normal app instead of a Steam game. If the system restart after an uninstallation is delayed, e.g. because of Windows Updates being installed, this additional delay is incorrectly added to the time how long the uninstallation process took. This cosmetic bug could cause the program incorrectly report an uninstallation time longer than the actual uninstallation time. Uninstalling Minecraft could simply fail. The Only scan the system drive for installed apps setting does not fully work. If some apps are installed to a non system drive and this setting is enabled, the app could still be detected and listed on the main user interface. Changing any settings could also incorrectly alter the Only Scan The System Drive For Installed Apps setting. Microsoft OneDrive and Copilot are not always detected. If you enter something to the search filter field, then select the text and press the Delete key, this triggers the Uninstall button click even if your intent was to delete the text input. If you press the F5 key to refresh the screen during the uninstallation loading screen, the program will crash. If you enabled some setting, such as "Do not analyze installed app installation sizes", it could automatically be unchecked later. Uninstalr doesn't warn you if you try to remove Fortec antivirus. There should be a warning if user attempts to remove any antivirus or antimalware type program. Such programs should not be uninstalled using a third party uninstaller, as they are typically protected against automated uninstallation, for security reasons. With "Do not analyze installed app installation sizes" option checked from the Settings, Uninstalr could still display some installation size related elements in the UI which was confusing. The "Only scan the system drive" option moved under Improve Scan Speed from the General settings. If two software have the exact same name and version number, selecting both of them for uninstallation fails because only one is actually selected. Sorting the installed apps by size sometimes fails and the order is incorrect. The "Don't show which paths are currently analyzed" did not work correctly - some parts of the UI still show the currently analyzed path with this setting checked. The "Don't list software less than 10 MB" filter did not work correctly - some apps smaller than 10 MB could still be listed. Uninstalr could start very quickly and display an empty list of detected apps. Restarting the app usually fixed the issue and the list of installed apps was properly displayed. If you placed portable Uninstalr to a same folder with other portable apps, those were not detected because Uninstalr automatically added its installation folder to the ignore list. When trying to uninstall some specific software, Uninstalr could get stuck on the Searching for more data relating to the app phase. Uninstalr could sometimes do a silent uninstallation even if user had unchecked the Perform a silent uninstallation option. Known issues: Uninstalr can fail to run with an Out Of Memory error in systems that have a lot of installed apps. Using the New Software Monitor tool multiple times during one session can cause the program to get stuck on the Scanning stage. The "uninstallation completed" message box sometimes closes when the user moves the mouse cursor over the button before user clicks it. There is no feedback for the user after Fix Information feature has been used. The Right Click menu's Select by publisher option can display the number of apps per each publisher without correct vertical alignment. The default user interface might not display all of the found installed apps if you have over 600 installed apps. If you do, using the Screen Reader Compatible Interface solves the issue. Leftover apptype filter checkbox is shown in red font only in Dark Mode. Clicking the app's icon from the Windows Taskbar doesn't minimize/restore the app like other apps. The warning about an app that user wishes to uninstall being related to some other app user did not select can sometimes be inaccurate. If app's language is changed without restarting Uninstalr, the list of installed software might not automatically refresh. When software is being uninstalled, the UI can say it is processing paths unrelating to the uninstalled app. This is purely cosmetic and does not mean these paths are removed. Uninstalr might not properly detect and/or uninstall Steam games if they are installed to a drive different than Steam's default location in C:\. You might see "This action is only valid for products that are currently installed" error message from Windows Installer during uninstallation. This is a cosmetic issue. Download: Uninstalr 3.1 | 7.1 MB (Free, paid version available) Download: Uninstalr Setup 3.1 View: Uninstalr Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I and many others did not vote to get out of the E.u because of Putin or Farage, we did so for our own reasons. You don't have to tel me what my own did or did not do when it comes to the E.U. The EEC is or was the European Economic Community, a different beast to what the E.U is now.The EEC was a mainly about trading, the E.U have gone far beyond that and as I have said before, is now more of a United States of Europe. The U.K did not vote to join a United States of Europe. Anyway, they did not want us in there in the first place, Charles de Gaulle stopped us joining as he claimed we didn’t agree with the core ideas of integration. He was not wrong and that is why we voted out of the E.U when the time came. I was not old enough to vote the first time. My only regret is that we did not have the referendum years ago and got out years ago. If we rejoined, we would have to agree to join the Euro and no doubt Schengen, agree with freedom of movement, we have enough problem with people coming over here as it is. i have no problem with people coming over here if they work and don't try to push their way of life onto us. The E.U has a currency, freedom of movement, an anthem a flag, a parliament, well they are there, not sure if they do anything. Don't sound like something that is just for trading. Oh yeah, also wanted a euro Army. How many stupid rules have the E.U made that we had to follow? I doubt I will see the Uk rejoin the E.U, which suits me. Oh yeah, my partner is Polish, she came over here before Poland joined the E.U and she got fed up of people just coming over here with ease, while she had to struggle. She is now a British citizen and have been for a fair few years
    • Hello, Paul. Thanks for the editorial. It was interesting. I'm going research more into the app and its concept. Of course, if you know me at all, you know that I'd say your articles needs some editing! I always do, don't I? For instance, the article occasionally mentions relays before defining it.
    • Screamer is 50% off on Steam, making it £24.99 here in the UK: https://store.steampowered.com/app/2814990/Screamer/ You might remember the series from the mid 90s / early 2000s, this new game is also by Milestone who created the older games.
  • Recent Achievements

    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      +Edouard
      226
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      Steven P.
      75
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!