Connecting to server behind VPN with Heroku and Ruby

感情迁移 提交于 2019-12-14 03:47:32

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/13314057/connecting-to-server-behind-vpn-with-heroku-and-ruby

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!