L2TP ipsec部署时遇到的问题

Please disable /proc/sys/net/ipv4/conf/*/send_redirects
>   or NETKEY will cause the sending of bogus ICMP redirects!

Run these two as root:

# for f in /proc/sys/net/ipv4/conf/*/accept_redirects; do echo 0 > $f; done
# for f in /proc/sys/net/ipv4/conf/*/send_redirects; do echo 0 > $f; done

3) Install rng-tools (OPTIONAL)
Install this tool if you face the following error after configuraing the IPsec.
vinayaka@vinayak-desktop:~$ipsec verify
Hardware RNG detected, testing if used properly                 [FAILED]
Hardware RNG is present but ‘rngd’ is not running.
sudo apt-get install rng-tools

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注