Facebooker SSH隧道
问题描述:
我正在通过Facebook的开发环境的一些初始设置尝试使用Facebooker和它的SSH隧道来暴露我的开发站点。我在SSH隧道上遇到了很多麻烦。我确信port 4007已经打开,我的SSH配置同时包含GatewayPorts yes和GatewayPorts clientspecified。Facebooker SSH隧道
我可以从我的浏览器连接到我的域上的隧道确定,但是当我尝试从我的Facebook应用程序它只是超时。
如果我检查调试信息当我在浏览器中加载的域名我看到:
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 5 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen port 4007, originator 99.88.246.92 port 56423
debug1: connect_next: host localhost ([127.0.0.1]:3000) in progress, fd=6
debug1: channel 1: new [99.88.246.92]
debug1: confirm forwarded-tcpip
debug1: channel 1: connected to localhost port 3000
debug1: channel 2: free: 99.88.246.92, nchannels 4
debug1: channel 3: free: 99.88.246.92, nchannels 3
debug1: channel 1: free: 99.88.246.92, nchannels 2
当我从Facebook连接我只是得到:
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 2 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen port 4007, originator 69.63.189.246 port 44679
debug1: connect_next: host localhost ([127.0.0.1]:3000) in progress, fd=6
debug1: channel 1: new [69.63.189.246]
debug1: confirm forwarded-tcpip
debug1: channel 1: connected to localhost port 3000
我是相当新的这种开发方法(SSH Tunneling),有没有人可以提供的建议?
答
当你说“我可以从我的浏览器连接到我的域上的隧道确定”时,你究竟是什么意思?
让我们在互联网GATEWAY和您的开发机器上运行您的rails服务器DEV时,让您的机器可见。 如果你把http://GATEWAY:4007你的红宝石服务器上的DEV会看到请求?
如果是这种情况,你可能会有一个DNS问题,其中Facebook没有解决你输入的域名。尝试在Facebook上的GATEWAY IP作为画布网址。你是否也证实你的GATEWAY可以被互联网上的其他机器所击中?