Friday, 17 July 2020

Sophos SG Change UDP timeouts / UDP Stream

SSH in to the unit and switch to root user.  Then run the following

echo  60 > /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout
echo 360 > /proc/sys/net/ipv4/netfilter/ip_conntrack_udp_timeout_stream

This will change the running set up but it will change back to default after a reboot.

To keep the changes in reboot add the following lines to /etc/sysctl.conf

net.ipv4.netfilter.ip_conntrack_udp_timeout_stream = 360
net.ipv4.netfilter.ip_conntrack_udp_timeout = 60

Save the file




No comments:

Post a Comment