Combining OpenVPN with a reversed SSH tunnel
Posted: Mon Sep 20, 2021 9:48 pm
Hi,
I have a Raspberry Pi in a remote LAN. The Pi does a remote SSH tunnel to a public SSH server, presenting the OpenVPN port (I used port 10012) active on that server. I want to combine OpenVPN with the SSH tunnel. I tried to do this by changing the "remote" statement in a working OpenVPN client file, but then I get:
TCP: connect to [AF_INET]176.58.101.53:10012 failed: Connection refused
I configured OpenVPN to use TCP by the way, SSH tunneling does not support UDP I believe.
What could be wrong? Also, does the OpenVPN server support the use of a SOCKS proxy? That could be another route to accomplish this.
Cheers and thanks for your insights,
BC
I have a Raspberry Pi in a remote LAN. The Pi does a remote SSH tunnel to a public SSH server, presenting the OpenVPN port (I used port 10012) active on that server. I want to combine OpenVPN with the SSH tunnel. I tried to do this by changing the "remote" statement in a working OpenVPN client file, but then I get:
TCP: connect to [AF_INET]176.58.101.53:10012 failed: Connection refused
I configured OpenVPN to use TCP by the way, SSH tunneling does not support UDP I believe.
What could be wrong? Also, does the OpenVPN server support the use of a SOCKS proxy? That could be another route to accomplish this.
Cheers and thanks for your insights,
BC