跳转到内容

虚拟机如何使用主机代理软件

使用的是centos7.9

1.主机软件开启允许局域网连接

开启局域网链接

2.在/etc/profile配置主机虚拟网络IP的代理

export all_proxy="http://192.168.x.x:port"

3.刷新配置文件

source /etc/profile

参考链接:

https://blog.xzr.moe/archives/124/

https://www.cnblogs.com/EasonJim/p/9826681.html

Released under the MIT License.