Page 1 of 1

GRE TUNNEL

PostPosted: Sat Apr 22, 2017 1:22 am
by cth
I dug myself a gre tunnel between two grsec-linux kernels. The gre packets are reaching both machines, but they can't ping or do anything else via the tunnel. Same setup works fine on two non grsec kernels, so I'm guessing there is some specific sysctl option or something similar I have to change to make it work.

For the doubting crowd: I've had everything I did checked by both the #archlinux and the #netfilter guys. It should work, but somehow it doesn't. And as I said I did exactly the same steps on two non grsec machines and there it worked right away.

If anyone has any idea I'd be delighted, obviously. I've been sitting over this for about seven hours now. The fun of tinkering around left me at about a quarter of that time frame. Please help.

Re: GRE TUNNEL

PostPosted: Fri Apr 28, 2017 8:38 am
by spender
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 1 > /proc/sys/net/ipv4/conf/all/accept_redirects

-Brad

Re: GRE TUNNEL

PostPosted: Fri Apr 28, 2017 9:30 am
by cth
Thanks a bunch.