使用PassWall2路由器工具的步骤

  1. 安装PassWall2

    • 访问 PassWall2 的官方网站(https://passwall2.dev/)。
    • 下载并解压到一个临时文件夹中,确保有一个“passwall”子目录。
    • 根据提示配置IP地址、端口和队列。
  2. 配置IP地址

    • 在配置文件中(如 config-pw-config),设置IP地址和端口。
    • IP 192.168.1.1
      Endpoints eth 88
      Endpoints eth1 881
  3. 配置端口

    • 修改端口文件(如 config-pw-bridge),设置每个端口的IP地址和端口ID。
      Endpoints eth 88
      Endpoints eth1 881
  4. 配置队列

    • 修改队列文件(如 config-pw-queue),设置检测队列、阻止队列和缓存队列。
    • 示例:
      DetectionQueue detect_queue 0
      BlockQueue block_queue 1
      CacheQueue cache_queue 2
  5. 启动路由器

    • 使用命令启动路由器:
      sudo systemctl start pw-routerns
  6. 配置路由器

    • 轮廓路由器会运行以下命令:
      
      
    • 查看检测状态:
      
      
  7. 使用路由器功能

    • 检测入侵接口:查看检测状态,启用检测队列。
    • 关闭检测:使用 sudo pw-config show pw-routerns | grep detection,启用停止。
    • 阻止入侵:启用阻止队列。
    • 缓存数据:修改缓存队列参数。
  8. 测试路由器

    • 使用命令查看端口状态:
      
      
    • 检查检测状态:
      
      

通过以上步骤,您可以使用PassWall2路由器工具来管理和监控网络入侵,确保网络安全。

使用PassWall2路由器工具的步骤

扫码添加高速VPN梯子官方微信

扫码添加高速VPN梯子官方微信

0592-571-8643
扫码添加高速VPN梯子官方微信

扫码添加高速VPN梯子官方微信

网站地图