Hi,

On Mon, Jan 02, 2017 at 03:51:38PM +0530, Tibin Geo k k wrote:
> How to connect OpenVPN through ssh tunnel, I have configured OpenVPN server
> on a ubuntu machine, and it is working fine, recently my network admin
> blocked connection to external vpn.

"talk to your network admin, explain what you want to achieve and how
it fits corporate security policies"

In many companies, using VPNs from desktop machines to connect to untrusted
networks "outside" is strictly prohibited to avoid unfiltered access in
revers, and circumventing this is a firing reason.  So better talk to 'em.

(Otherwise, run "ssh -L $localport:$vpnserver:$remoteport $sshserver",
and point your openvpn to "remote 127.0.0.1 $localport" - TCP only.  
Alternatively, use "ssh -D $socksport $sshserver" and specify 
"socks-proxy 127.0.0.1 $socksport" in your openvpn config)

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to