# opnsense_tools **Repository Path**: Yogile/opnsense_tools ## Basic Information - **Project Name**: opnsense_tools - **Description**: 基于 OPNsense 系统的 Python 小工具、小程序集,实现个人需要的功能。 目前支持: 1. ping (IPv4) 触发命令行指令。 2. 终端网络信息获取小工具,实现域名、 IPv4 、 IPv6 、 MAC 更新的电子邮件通知 支持 Windows7 、 Windows10 、 FreeBSD ( Linux 应该都可以支持)。 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-21 - **Last Updated**: 2025-02-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OPNsense Tools ## 介绍 基于 OPNsense 系统的 Python 小工具、小程序集,实现个人需要的功能。 目前支持: 1. `liteip`: 终端网络信息获取小工具,实现域名、 IPv4 、 IPv6 、 MAC 更新的电子邮件通知。 2. `ping_subprocess`: ping (IPv4) 触发命令行指令。 支持 Windows7 、 Windows10 、 FreeBSD ( Linux 应该都可以支持)。 ## 文件说明 每个文件夹下都是一个单独的小工具,可以随用随取。 ## 工具说明 ### 1. [liteip](./liteip) 基于 Python 的终端网络信息获取小工具,实现域名、 IPv4 、 IPv6 、 MAC 更新的电子邮件通知。 支持 Windows7 、 Windows10 、 FreeBSD ( Linux 应该都可以支持),建议搭配 DDNS 配合使用。 此处仅引用,程序另有项目地址: [Yogile / liteip](https://gitee.com/Yogile/liteip) 。 > 我用在 IPv6 地址变化后,及时邮件通知我。 ### 2. [ping_subprocess](./ping_subprocess) 基于 Python 的 ping (IPv4) 触发命令行指令小程序。 支持 Windows7 、 Windows10 、 FreeBSD ( Linux 应该都可以支持),建议搭配 DDNS 配合使用。 > 我用在重启(或者 IPv6 地址变化、防火墙重启)后 ,os-wireguard 客户端(opnsense-wireguard)功能异常,及时重启运行,恢复连接。