I`m following along this post :
https://vpsboard.com/topic/4095-ipsecl2tp-vpn-on-ubuntu-1404/
in order to setup VPN Server in Ubunto, however when i come to this command :
for vpn in /proc/sys/net/ipv4/conf/*; do echo 0 > $vpn/accept_redirects; echo 0 > $vpn/send_redirects; done
I get Permission Denied, also i`m running the command using sudo!
i know sudo doesnt work with redirects but i dont know how to rewrite this command in order to execute it using su -c