Ticket #930: set-mtu.bat

File set-mtu.bat, 247 bytes (added by toine512, 4 years ago)
Line 
1@echo off
2rem Antoine - 11/07/2017
3rem The correct charset is OEM437 (OEM-US)
4
5rem Arguments : tun_dev tun_mtu link_mtu ifconfig_local_ip ifconfig_remote_ip [ init | restart ]
6netsh interface ipv4 set subinterface "%~1" mtu=%~2 store=active