Sophos XG MTU: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 4: Zeile 4:
 
*vi /scripts/system/clientpref/customization_application_startup.sh
 
*vi /scripts/system/clientpref/customization_application_startup.sh
 
  #!/bin/sh
 
  #!/bin/sh
  iptables -t mangle -I POST_INTERFACE -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=
 
=Testen=
 
*watch "iptables -t mangle -nvL POST_INTERFACE"
 
*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"