Questions tagged [ssh-tunnel]

An SSH tunnel leverages the SSH protocol to transport unencrypted data through an encrypted connection.

An SSH (secure shell) tunnel provides a secure connection through which unencrypted data can be sent.

This technique can be useful for:
- Providing security for insecure network protocols.
- Hiding one's true location (ip).
- Circumventing blocked ports in firewalls.

857 questions
0
votes
1 answer

Forward UDP ipv6 port in a VPS to UDP ipv4 port in another VPS

I have VPS let's say VPS X that doesn't have IPv4 but only has IPv6. and I have VPS let's say VPS Y that doesn't have IPv6 but only has IPv4. Since IPv4 is still common used today, and some device unable to access IPv6. I want use VPS Y network card…
0
votes
1 answer

How to forward all port from Debian to Windows with OpenVPN

My Setup: Debian 10 from Azure Windows 10 from Azure Debian 10 is a clean new server from Azure with only OpenVPN installed and set up using the script from this Repository. Windows 10 is full of programs and has Xampp running on it and I can…
0
votes
1 answer

Apache Reverse Proxy for SSH Tunnel

I want to set up an Apache reverse proxy for my Home-Assistant(hass) instance running in my local network. I tunnelled the traffic of the local hass instance to a remote server with ssh -N proxy@example.com -R 8123:localhost:8123. Now I tried to set…
Toorero
  • 1
  • 3
0
votes
2 answers

Outbound proxy using multiple public IP addresses on EC2

We have a bunch of backend servers in the form of EC2 instances based in a private subnet in AWS VPC that need to talk to a 3rd party API. This API is limiting the requests we can send based on the originating ip address and while scaling our setup…
MoWo
  • 443
  • 1
  • 10
0
votes
1 answer

SSH remote forward success but test from remote site not working

Took me a while to figure this out, but finally got remote port forwarding to work with ssh as follows: ssh -N -i /etc/ssh/id_rsa user@somewhere.com -R 8080:localhost:80 -C -v The local server uses a private key to connect to the remote server…
c0D3l0g1c
  • 105
  • 2
0
votes
2 answers

Connect SSH Tunnel with the Java Desktop program (.jar) to remote server

I developed a JavaFx Desktop program the employees of the company. Now, they want to use the program in their houses with their own personal computers. The program has MySQL and FTP services. I need to use SSH Tunnel or VPN so that the program can…
Arkhan6
  • 3
  • 1
0
votes
2 answers

Running mysqldump via SSH on separate mysql server

I've got an hosting environment consisting of two separate servers: web-server and db server. The web-server is accessible via SSH only (and of course port 80). The DB server is inaccessible from the Internet and can only be accessed via the…
spekulatius
  • 105
  • 3
0
votes
3 answers

Pass HTTPS certificates from downstream servers through NGINX proxy to client

I have a fleet of Ubuntu edge computers that host simple web HMI servers. Many are behind dynamic IPs where port forwarding is unavailable. So, to access them each uses autossh to create a reverse tunnel into a central cloud proxy server. I can then…
Oscar M
  • 1
  • 1
0
votes
1 answer

SSH Tunnel / similar setup to connect to services which are associated to private network

here is my issue. OS : Oracle Linux 7.8 Management IP(Putty accessible) eth0: 10.250.0.210 App IP (not accessible outside) eth1: 10.250.4.210 I have a website running on 10.250.4.210:80. I need to access this site via 10.250.0.210 IP for testing…
Ullas
  • 3
  • 2
0
votes
1 answer

ssh TOTP connection with jump host forwarding

How can I simplify this? Perhaps using agent forwarding? I have an SSH jump host with 2FA via TOTP x2 and a machine which uses 2FA as well(jump host and machine): ssh myuser@host.corp.com -L 22222:my_machine.corp.com:22 # requires password + 2FA…
Georg Heiler
  • 103
  • 3
0
votes
1 answer

I want to use an SSH server to provide internet connectivity with sshuttle

I have a local network containing a machine named black running Ubuntu 16 server, and a raspberry pi. The pi has two network cards. One faces this local network, and the other connects to my ISP via a router. black has one interfaces which faces…
Duncan Marshall
  • 355
  • 1
  • 3
  • 7
0
votes
2 answers

Connecting to server via VPN

There is a server with connection via VPN to it (using GRE protocol). I have got a problem to connect to this VPN from home network, because GRE is not allowed by provider. But I have got another work server (with SSH connection to it from home) in…
0
votes
1 answer

Speed-optimization of Xrdp server connection when connected via SSH tunnel

I've established a connection to a server based on port-forwarded local Xrdp, through an SSH tunnel. If my understanding is correct, then I could illustrate such network as follows: ╷────<──port xxxx──<────╷ ) │ …
0
votes
1 answer

Using Putty/plink to connect to remote MySQL from Windows machine using Port Forwarding and multi hop SSH tunnel

I need to set up port forwarding from my local Windows machine Port 3307 to a remote MySQL server port 3306 but accessed via 2 Linux proxy servers and a Linux web server. I need to use Putty or plink.exe on the Windows machine to set up the…
0
votes
0 answers

How to open SSH tunnel to share VPN connection?

There is one Windows machine which can SSH into Linux server within VPN connection. How I can setup SSH tunnel (or anything else) on this Windows machine, which could be shared for other machine under same Wi-Fi?
northtree
  • 161
  • 1
  • 5