Re: [Skunkworks] SSH to VPN - Connect to VPN from web hosting

Kago,
why VPN if u have ssl? can you do https requests?
On 21 September 2012 16:32, Kago Kagichiri <thekenyanprince@gmail.com> wrote:
Hi all,
An app (MPrep) hosted in the US on a Bluehost.com Linux box with CPanel and access to SSH, would like to connect to Safaricom VPN, with my app (web-hosting box) acting as the VPN client. I have a public IP and an SSL certificate and the ability to execute SSH commands and open custom network ports to push and pull data.
I am not a Linux expert but if pointed in the write direction I'll succeed.
I would like to know more about the technicalities involved, specifically:
Is it possible to connect to a VPN from SSH on the hosting side? If possible: How does one execute a HTTP connection via the tunnel? If not possible: What are alternative options, other than moving to the Safaricom cloud?
I don't know if its my bear head thats not understanding English today but I don't seem to understand your question. Any chance you may try again. As in, do you have a system on Safaricom? Or do you just want to connect to Safaricom services from your hosted facility? Since I don't understand you, I will just do a bit of assumptions and hope it will help you. If you have two system, and want to use https from USA, you need to map on of your local port on your laptop to the service you are trying to reach in USA. I mean, lets assume you want to connect to https (Which is not public) on Bluehost.com, do something like this: ssh -D 8088 kago@Bluehost.com Then you would have to configure your browser to use port 8088 (Google for more details) If you have two servers, and want to reach the safaricom service using Bluehost.com as a VPN, then you need to do port forwarding ssh -Nf -L 8088:host_on_safaricom.com:443 Bluehost.com In short, look at ssh as your VPN solution. Forget whatever you likely have installed on your laptop and that you normally call VPN, it will not work unless you have the server side set up on Bluehost.com Anyway, if this don't help, try explain yourself again please Muriithi
Kago Kagichiri.
-- K. K.
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
------------------------------
Message: 2 Date: Sat, 22 Sep 2012 17:26:50 +0200 From: kris njoroge <krsnjo@gmail.com> To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Top Worst Designed websites in Kenya Message-ID: <CAK37A++DANVUNQ9aZ__DVNQ3CYQoy4zmUh-mDZmz2v61Y8mbgQ@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
Compared to the Ugandan site it needs some work plus why would the url be statehousekenya.go.ke could it not just be statehouse.go.ke? http://goo.gl/uc1vf
-- *
If the human brain were so simple that we could understand it, we would be so simple that we couldn't. - Emerson M. Pugh
*
participants (1)
-
William Muriithi