NowTunnel For Windows(WSL) 安装配置

 

1. 启用windows功能.

 

2. 升级内核更新包,从windows官网下载.


3. 打开windows应用商店,在Store中下载Ubuntu并安装:


 

4. 安装完成后,在开始菜单或者Windows 终端(Windows 11)中启动Ubuntu并初始化。


5. 环境配置

# 环境
su root
apt install ca-certificates iptables wireguard iproute2
# 开启内核转发功能
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.forwarding = 1" >> /etc/sysctl.conf
sysctl -p

# 程序下载
wget -qO- https://download.nowtunnel.com/nowtunnel-linux-x86_64.tar.gz | tar -xz -C /usr/local/ && \
chmod +x /usr/local/nowtunnel/nowtunnel && \
chmod +x /usr/local/nowtunnel/nowtunnel-bash.sh && \
chmod 755 /usr/local/nowtunnel/cache && \
chmod 755 /usr/local/nowtunnel/log

# 运行
/bin/bash /usr/local/nowtunnel/nowtunnel-bash.sh

 

4. 浏览器打开 http://你的IP:9501 管理该客户端
帐号:admin 密码:nowtunnel
此时环境配置完成,进一步配置请浏览 配置管理