CHHHCHHOH 's BLOG

环境配置记录

Windows和wsl端口转发

netsh interface portproxy add v4tov4 listenport=4000 listenaddress=0.0.0.0 connectport=4000 connectaddress=172.27.96.121
netsh advfirewall firewall add rule name="Allow Port 4000" protocol=TCP dir=in localport=4000 action=allow
netsh interface portproxy show all

添加新评论