Advanced VXLAN Tunnel Management Script for Linux Servers
Based on Lena Tunnel — This project is a fork of Lena Tunnel
Disclaimer: This project is only for personal learning and communication, please do not use it for illegal purposes, please do not use it in a production environment
If this project is helpful to you, you may wish to give it a 🌟
Tunn3l is a fast, lightweight, and intelligent tunneling solution built on the powerful VXLAN technology, combined with automated traffic management through HAProxy. It is designed to automatically create and manage secure network tunnels without complex > configurations, delivering traffic with minimal latency and maximum efficiency. Tunn3l is an ideal choice for professionals seeking a reliable, low-resource, and high-performance networking solution.
🚀 VXLAN-Based Tunneling: Utilizes advanced network virtualization to create secure, stable, and high-speed tunnels between servers.
🌐 IPv4 & IPv6 Support: Seamless tunneling even under IPv6 restrictions or in dual-stack environments.
⚙️ Easy Setup with HAProxy: Automatically creates and manages tunnels using the powerful HAProxy load balancer.
💡 Minimal Resource Usage: Designed for optimal performance while consuming minimal CPU and memory.
📊 Interactive Dialog UI: Full tunnel configuration, role selection, IP setup, and service management in a user-friendly terminal-based interface.
🔄 Automated Service Management with systemd: Creates smart systemd services and timers for periodic tunnel restarts to maintain stable connections.
📡 Intelligent Tunnel Monitoring: Continuously checks VXLAN connectivity using a ping monitoring script and logs the results.
🛠 Advanced Management: Edit, delete, or update the script directly from GitHub with just a few clicks.
⚡ BBR Support: One-click installation of the BBR congestion control algorithm for improved speed and reduced latency.
bash <(curl -Ls https://raw.githubusercontent.com/RealCuf/Tunn3l/refs/heads/main/install.sh)This script installs a helper utility named ping_monitor.sh which periodically (every 30 seconds) pings the tunnel’s remote IP and logs the results to:
/var/log/vxlan_ping.log
To view logs in real-time:
tail -f /var/log/vxlan_ping.logTo manually run the monitoring script:
/usr/local/bin/ping_monitor.sh <remote_ip>- @MrAminiDev for the core project
