5
2
Is there a way to establish a SSH connection over UDP?
I'm running behind a "filter all inbound TCP traffic" firewall so I cannot utilize a SSH tunnel properly.
I have set up over at my brothers that I have control over (SSH). I want to connect to it from behind the firewall to somehow port forward to the MySQL and Redis databases I have on my servers behind the firewall.
5OpenVPN typically runs over UDP. If you can establish an OpenVPN connection, you could
ssh
over that, although then you should also be able to directly access your MySQL and REDIS without usingssh
as another transport tunnel layer. – user4556274 – 2016-09-24T15:11:26.590Assuming here that you have confirmed UDP is not firewalled. – nik – 2016-09-24T20:01:41.613
What exactly is, from your perspective, behind the firewall? You? Or the SSH server host? Why do you think it wouldn't block UDP? Is the firewall a NAT router? – Daniel B – 2016-09-24T21:03:57.467
Just connecting to a VPN does not work as I'm sure you need to port forward something to the VPN network and back. UDP comes back as open by nmap and I can use OpenVPN over UDP by specifying any random UDP port range. From my perspective, I am behind the firewall and so is the server I want to port forward to. I'm not really sure what type of firewall it is, but I know there are 3 routes from the external point to my internal router, so it could be anything really. I do know for sure UDP works though. – B. Garrison – 2016-09-25T00:36:43.093
1@B.Garrison: "Just connecting to a VPN does not work as I'm sure you need to port forward something". No, if you have a VPN connection between your local network and the remote network, there is no need for any port-forwarding. – user4556274 – 2016-09-28T11:35:05.680