Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Two or more interfaces found, checking IP forwarding [FAILED

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Saulius2006
Posts: 1
Joined: 2016-09-06 07:32

Two or more interfaces found, checking IP forwarding [FAILED

#1 Post by Saulius2006 »

Hi,

I'm trying to set L2TP VPN server on my Raspberry Pi with:
Linux raspberrypi 4.4.19-v7+ #906 SMP Tue Aug 23 15:53:06 BST 2016 armv7l GNU/Linux.

However what ever I try I can't get IP forwarded error from ipsec verify:

Version check and ipsec on-path [OK]
Linux Openswan U2.6.38/K4.4.19-v7+ (netkey)
Checking for IPsec support in kernel [OK]
SAref kernel support [N/A]
NETKEY: Testing XFRM related proc values [OK]
[OK]
[OK]
Hardware RNG detected, testing if used properly [FAILED]

Hardware RNG is present but 'rngd' or 'clrngd' is not running.
No harware random used!

Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [OK]
Pluto listening for NAT-T on udp 4500 [OK]
Two or more interfaces found, checking IP forwarding [FAILED]
Checking NAT and MASQUERADEing [OK]
Checking for 'ip' command [OK]
Checking /bin/sh is not /bin/dash [WARNING]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]


the /etc/sysctl.conf is set up according the instructions:
#
net.ipv4.conf.default.send_redirects=0
net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.eth0.send_redirects=0
net.ipv4.conf.lo.send_redirects=0
net.ipv4.conf.wlan0.send_redirects=0
net.ipv4.conf.default.accept_redirects=0
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.eth0.accept_redirects=0
net.ipv4.conf.lo.accept_redirects=0


if I run sysctl -p looks also fine:
root@raspberrypi:/# sysctl -p
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.eth0.send_redirects = 0
net.ipv4.conf.lo.send_redirects = 0
net.ipv4.conf.wlan0.send_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.eth0.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
net.ipv4.conf.wlan0.accept_redirects = 0
net.ipv4.ip_forward = 1


Can someone please advise that I'm doing wrong or should I have something changed.
The tutorial for VPN server I took from:
https://raymii.org/s/tutorials/IPSEC_L2 ... Linux.html.


Thanks
Saulius

Post Reply