independentpasob.blogg.se

Using shadowsocks client in linux
Using shadowsocks client in linux








  1. #USING SHADOWSOCKS CLIENT IN LINUX INSTALL#
  2. #USING SHADOWSOCKS CLIENT IN LINUX SOFTWARE#

Shadowsocks works similar to a VPN, it reroutes a user’s internet data sent by the computer or smartphone to a remote server in an uncensored country, which is called a Shadowsocks server, only then will it connect to the wider internet, as a result, the user can browse the internet content accessible from that country even he or she is actually traveling in China.

#USING SHADOWSOCKS CLIENT IN LINUX SOFTWARE#

In that server, you can set up the ShadowSocks server and configure the ShadowSocks server port number to 9090 which is allowed by the firewall rule.Shadowsocks is a proxy software that was built for the specific purpose of helping people in internet censored countries access the blocked websites, it has become very popular among Chinese users recent years, it is also a very helpful tool for foreign travelers in China or some other internet censored countries, as it’s a cheaper way for them to unblock those frequently used websites like Google, Twitter, YouTube and the like. Then it will open an ssh client ( in a web browser ) that you can use to interact with the Linux server.Go to the virtual machine instance list page, click the down arrow behind the SSH Connect type, then click Open in browser window menu item.

#USING SHADOWSOCKS CLIENT IN LINUX INSTALL#

We will install the ShadowSocks server in that virtual machine now.

  • Now the firewall rule and the virtual machine instance have been added correctly.
  • Setup ShadowSocks Service In Google Cloud Virtual Machine Instance. Then input shadowsocks in the Network tags input box, so that this virtual machine instance is tagged as shadowsocks, and it will use the firewall rule created in step one which Target tags value is shadowsocks also.ģ. Click the instance link to go to it’s detail info page and click the Edit button at the top bar.
  • Now you can return to the virtual machines list page, you can find the virtual machine instance you just created there.
  • Click the Create button to save the changes. Select micro in Machine type(micro is enough and not expensive).
  • Then click CREATE INSTANCE menu item at the top to create a google cloud virtual machine.
  • Log in to the Google Cloud Platform console, then click the Compute Engine -> VM instances menu item in the Navigation menu.
  • Create Google Cloud Virtual Machine Instance. We will use this firewall rule in virtual machine configuration later.Ģ.
  • Now you can see the newly added firewall rule on the VPC network -> Firewall rules list page.
  • Do not forget to click the Save button to save the changes.
  • The Target tags are the google cloud virtual machine tags, if you specify the value shadowsocks to it here means that the virtual machine which has the shadowsocks tag will use this firewall rule.
  • So the S pecified protocols and ports value should be tcp:9090 udp:9090.
  • In this example, ShadowSocks will use the 9090 port number and use both TCP and UDP protocol.
  • using shadowsocks client in linux

    And then input text with protocol_1:port_number_1 protocol_2:port_number_2 format.

  • But sometimes such as in this case, we should restrict the protocols and ports to clients to use this firewall rule so we can choose Specified protocols and ports radio button in the Protocols and ports section.
  • using shadowsocks client in linux

  • If you want to expose all protocols and ports number to the client in this firewall rule, you can choose the Allow all radio button in the Protocols and ports section.
  • The Source IP ranges value should be 0.0.0.0/0 to allow any IP address to connect.
  • Select IP ranges in the Source filter drop-down list.
  • Input firewall rule name, and set all other fields as below picture.
  • Then click CREATE FIREWALL RULE button at the top bar to open the Create a firewall rule web page.
  • Click VPC network -> Firewall rules menu item in left Navigation Menu.










    Using shadowsocks client in linux