Open proxy via SSH [1]xshell open socket Agent

Source: Internet
Author: User
Tags ssh account ssh server
Tools/raw Materials

An SSH account that can connect to a Linux server

Local Install Xshell (a component of Xmanager, the latest version is xmanager4)
Method/Step

SSH remote connection to Linux

Open the Proxy Settings panel and click: View-> tunneling Pane

Select the forwarding Rules in the pop-up window

Right-click in the margin: Add. In the pop-up forwarding rule, as shown in the configuration, type select "Dynamic (SOCK54/5), Listen port I use the default of 1080, this can also be in accordance with their own requirements for port settings Descripting according to their needs to describe, you can leave blank, after the configuration click OK will pop up a dialog box, click Yes will save the current session, each time after the SSH session, the local socket agent will automatically open, I just do a demo, choose No.


After the addition is complete, you can see the line forwarding configuration shown in the Forwarding Rules dialog box to ensure status is "open" and if "Failed" appears to be 1080 this local port is already occupied. You can try to modify the proxy port to reset the other ports.

At this point, the proxy server settings are complete, and the following will be configured for the browser client.

Open Internet option, click on the "Connection" tab, click "LAN Settings" on this page, and eject "local area network (LAN) settings"

Check "Use proxy server for LAN" below proxy server, address and port all leave blank, click "Advanced", enter "Proxy server Settings" port. In the socket line, Proxy server address write "localhost", Port write "1080", and then click OK, back to the browser page can be through the agent to the Internet.

If you want to use for other computers, you can make similar settings to other computers, but the address needs to write and communicate with the other side of the intranet IP address, such as my can write "192.168.8.8"

Once again using the browser to access http://ip138.com, you can already see that native IP is now the IP address of the SSH server.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.