* Create '''''/usr/bin/disable_send_accept_redirectszl2tpset''''' and add the following:
{{Text|Text=<nowiki>#</nowiki>!/bin/bash
<nowiki>#</nowiki> Disable send redirectsecho 0 > for each in /proc/sys/net/ipv4/conf/all/send_redirects*"echo 0 > /proc/sys/net/ipv4/conf/default/send_redirectsdoecho 0 > \$each/proc/sys/net/ipv4/conf/eth0/send_redirectsaccept_redirectsecho 0 > /proc/sys/net/ipv4/conf/lo\$each/send_redirects <nowiki>#</nowiki> Disable accept redirectsecho 0 > /proc/sys/net/ipv4/conf/all/accept_redirectsecho 0 > /proc/sys/net/ipv4/conf/default/accept_redirectsecho 0 > /proc/sys/net/ipv4/conf/eth0/accept_redirectsecho 0 > /proc/sys/net/ipv4/conf/lo/accept_redirectsdone}}
* Make it executable
{{Code|chmod 755 /usr/bin/disable_send_accept_redirectszl2tpset}}
* Add the following to '''''/etc/rc.local''''' so this script runs on boot:
{{Text|Text=/usr/bin/disable_send_accept_redirectszl2tpset}}