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
The Feri Tunnel script is ideal for system administrators and users who need to establish secure and optimized network tunnels across different geographic locations.
-
Installation: Clone the repository and navigate to the script directory:
git clone git@github.com: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
-
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>
The script includes multiple functions designed to streamline tunnel management and optimize network settings.
-
Dependencies: Ensure
lsb_release
,sqlite3
, andopenssl
are installed:sudo apt install lsb-release sqlite3 openssl
-
Clone the Repository:
git clone git@github.com:iamfarhad/feri-tunnel.git
-
Run the Script: Modify and execute the script locally for development:
./tunnel.sh
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.
This project is licensed under the MIT License. See the LICENSE file for more details.