Home  >  Article  >  Operation and Maintenance  >  How Linux realizes scientific Internet access

How Linux realizes scientific Internet access

PHPz
PHPzforward
2023-05-19 10:25:242195browse

plink -n -v server username@server domain name -d 127.0.0.1:7070 -pw server password -p server port

Theninstall privoxy

Copy the code. The code is as follows:

sudo apt-get install privoxy

Edit configuration file

After installation, you only need to change a little configuration/etc /privoxy/config, let privoxy turn on socks to http. Find the line in bold below in config, remove the # in the comment, and change the port number to the one set in plink above.

Copy code The code is as follows:

listen-address 192.168.x.x:8964
forward-socks5 / 127.0.0.1:7070 . #Note that this line of configuration must be under listen-address. I spent a long time debugging and reported an error~

Restart privoxy after saving and launching.

Copy code The code is as follows:

sudo /etc/init.d/privoxy restart

Then connect your chrome browser android ios device to wifi and modify the connection to http proxy bar

The above is the detailed content of How Linux realizes scientific Internet access. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete