Sophos XG MTU: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Auf der Konsole= *mount -no remount,rw / =Startup Datei editieren= *vi/scripts/system/clientpref/customization_application_startup.sh #!/bin/sh iptables -t ma…“)
 
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
*mount -no remount,rw /
 
*mount -no remount,rw /
 
=Startup Datei editieren=
 
=Startup Datei editieren=
*vi/scripts/system/clientpref/customization_application_startup.sh
+
*vi /scripts/system/clientpref/customization_application_startup.sh
#!/bin/sh
+
#!/bin/sh
iptables -t mangle -I POSTROUTING  -p tcp -o ipsec0 --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1400
+
iptables -t mangle -I POSTROUTING  -p tcp -o ipsec0 --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1400
exit 0;
+
exit 0;
 
;save
 
;save
 +
 
=Remount=
 
=Remount=
 
*mount -no remount,ro /
 
*mount -no remount,ro /
 +
=Testen=
 +
*watch "iptables -t mangle -nvL POST_INTERFACE"

Aktuelle Version vom 11. Januar 2023, 09:52 Uhr

Auf der Konsole

  • mount -no remount,rw /

Startup Datei editieren

  • vi /scripts/system/clientpref/customization_application_startup.sh
#!/bin/sh
iptables -t mangle -I POSTROUTING  -p tcp -o ipsec0 --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1400
exit 0;
save

Remount

  • mount -no remount,ro /

Testen

  • watch "iptables -t mangle -nvL POST_INTERFACE"