当然可以,右击网卡 /共享 /intenet 连接共享,好像得单独一网卡。
简单的 socks5 可以用 stunnel ,只是 windows 挂 socks5 软件有限,
https://www.stunnel.org/auth.htmlServer Configuration
Unless PSK authentication is configured, each stunnel server needs a certificate with the corresponding private key. The Windows installer of stunnel automatically builds a certificate. On Unix platforms, a certificate can be built with "make cert". A certificate can also be purchased from one of the available commercial certificate authorities.
A trivial configuration example:
[certificate-based server]
accept = <server_port>
connect = <dst_port>
cert = cert.pem
key = key.pem
The "key" option may be omitted if cert.pem also contains the private key.
Client Configuration
stunnel can use an existing PKI (Public Key Infrastructure). The following configuration requires stunnel 5.15 or later:
[PKI client]
client = yes
accept = 127.0.0.1:<src_port>
connect = <server_host>:<server_port>
verifyChain = yes
CAfile = ca-certs.pem
checkHost = <server_host>
The ca-certs.pem file contains the certificates of trusted certificate authorities.