Abstract
As shown in the figure below, when My Site cannot connect to Web Server X directly, but can connect via a remote SSH server (remote_server) that can be connected via SSH, this post explains how to get WebServer X pages in My Site's Web browser.As a remote_server, AWS and Azure can be available. In that case, the region of the request source can be set to that of the data center.
Create a SOCKS proxy
Run the following command with a SSH client on My Site. This creates a SOCKS proxy and has HTTP requests being sent from remote_server. The port number 8080 can be changed.ssh -D 8080 remote_server
Configuration of Web browser
Configure a SOCK proxy in your Web browser. When the SSH client is executed in localhost (the same machine), set the address like below.Chrome
google-chrome --proxy-server="socks://localhost:8080"
Firefox
Proxy setting dialog will be shown as you follow Menu -> Settings -> Network Settings -> Settings...Set the IP adddress and port in the dialog.
No comments:
Post a Comment