Skip to content

sarabbafrani/samtu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

MTU Test & Optimize

This repository contains a Bash script for testing and setting the optimal MTU (Maximum Transmission Unit) size for network interfaces. The script automates the process of finding the highest MTU value that can be used without packet loss.

Features

  • Automatically tests MTU values to find the optimal size.
  • Supports custom destination IP or domain.
  • Allows setting the number of packets to send for each MTU test.
  • Option to specify a MUX value.
  • Colorized output for easy readability.
  • Spinner animation during MTU tests for visual feedback.

Usage

To use the script, simply download it and run it on your server. Here's a one-liner command to download and execute the script using curl:

curl -sSL https://raw.githubusercontent.com/sarabbafrani/samtu/main/mtu.sh > mtu.sh && chmod +x mtu.sh && sudo ./mtu.sh
wget -qO- https://raw.githubusercontent.com/sarabbafrani/samtu/main/mtu.sh > mtu.sh && chmod +x mtu.sh && sudo ./mtu.sh

Releases

No releases published

Packages

No packages published

Languages