Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to server behind VPN with Heroku and Ruby

Tags:

ruby

heroku

vpn

I'm writing an application in Ruby/RoR that will be hosted on Heroku.

One of its requirements is that it connects to an (Active Directory) authentication server which is behind a Sonicwall VPN.

How can I establish this VPN authentication using Ruby to access this server?

like image 255
tibbon Avatar asked Oct 07 '22 01:10

tibbon


1 Answers

Heroku is just a service built on top of EC2 that manages deployment using a linux env. You don't have root access on on which means you can connect out to any service using any TCP protocol. But you can only listen for HTTP connections. Unfortunately this rules out setting up VPNs and SSH tunnels. You can do this on Amazon EC2.

like image 91
sunnyrjuneja Avatar answered Oct 10 '22 02:10

sunnyrjuneja