Ddos Tcp-mss Change




On Windows Servers;

-----------------------------

Command to be executed on the command line (CMD) ;

netsh interface ipv4 set subinterface "Ethernet0" mtu=1436 store=persistent

If you received the "OK" message when you executed the command, the operation is successful.




On Linux Servers;
-----------------------------

Step 1)

You can use the netstat -i command to find the network card name on Linux servers.
(http://prntscr.com/if625k)

/sbin/ifconfig "network_device_name" mtu 1436 up

Example (CentOS 6)
/sbin/ifconfig eth0 mtu 1436 up

Example (CentOS 7)
/sbin/ifconfig ens160 mtu 1436 up


Step 2)

To make the settings permanent;

open /etc/rc.local with nano or vi editor and type the command you are using. (http://prntscr.com/if637u)

(nano /etc/rc.local or vi /etc/rc.local)


Nothing to display