feri-tunnel
feri-tunnel copied to clipboard
free 6 to 4 tunnel - gost single port and multi port tunnel
Tunnel.sh - Feri Tunnel Management Script
Overview
This script sets up and manages the Feri Tunnel, a hypothetical tunneling tool designed for secure and efficient data transfer across networks.
telegram group https://t.me/feritunnel
Table of Contents
-
For End Users
- Description
- Usage
- Example
-
For Developers
- Script Details
- Development Setup
- Extending the Script
For End Users
Description
The Feri Tunnel script is ideal for system administrators and users who need to establish secure and optimized network tunnels across different geographic locations.
Usage
-
Installation: Clone the repository and navigate to the script directory:
git clone [email protected]:iamfarhad/feri-tunnel.git cd feri-tunnel
-
Running the Script: Download and execute the script:
wget "https://raw.githubusercontent.com/iamfarhad/feri-tunnel/main/tunnel.sh" -O tunnel.sh && chmod +x tunnel.sh && bash tunnel.sh
Example
Creating an IR Tunnel
-
Steps:
- Select "Create IR Tunnel" from the menu.
- Enter the interface name, e.g.,
tun0
. - Enter the local IPv4 address in Iran, e.g.,
192.168.1.1
. - Enter the remote IPv4 address outside Iran, e.g.,
10.1.1.1
. - Confirm to generate the tunnel setup commands.
-
Verify Connection: Ping the generated local IPv6 address:
ping6 <Generated Local IPV6>
For Developers
Script Details
The script includes multiple functions designed to streamline tunnel management and optimize network settings.
Development Setup
-
Dependencies: Ensure
lsb_release
,sqlite3
, andopenssl
are installed:sudo apt install lsb-release sqlite3 openssl
-
Clone the Repository:
git clone [email protected]:iamfarhad/feri-tunnel.git
-
Run the Script: Modify and execute the script locally for development:
./tunnel.sh
Extending the Script
Developers can extend the script by adding new features or enhancing existing functionalities:
-
Add New Tunnel Types: Modify the
create_tunnel
function to support new tunneling protocols. -
Improve Security Features: Incorporate advanced encryption methods within the tunnel creation process.
-
Enhance Performance Optimization: Update the
optimize_network
function with the latest TCP tuning parameters.
License
This project is licensed under the MIT License. See the LICENSE file for more details.