Solution was:
net.ipv4.conf.default.rp_filter=0
net.ipv4.conf.all.rp_filter=0
as well as
sysctl net.ipv4.conf.eth0.rp_filter=0
sysctl net.ipv4.conf.eth1.rp_filter=0
sysctl net.ipv4.conf.gre0.rp_filter=0
sysctl net.ipv4.conf.gre1.rp_filter=0
Please mark a thread as solved/closed as you wish.
Hi guys,
I've got another issue. I made a test IP in IP tunnel like in this article https://sites.google.com/site/mrxpalmeiras/linux/create-ipip-tunnel-between-networks
Then on machine A:
iptables -t nat -A PREROUTING -d 101.131.77.67 -p tcp -m tcp --dport 80 -j DNAT --to-destination...
Ok I found a solution. It's not elegant but it works.
Simply set default gateway for any public IP originating from eth1.
With this solution I can still use eth1 for other purposes like connecting database and it is not affected by this gateway.
I couldn't find a way to close this thread...
Hello guys,
Nice to join this forum. I'm not new to Linux but I didn't do anything complicated with iptables and/or routing until now.
What I want to accomplish is to use one server as a load balancer and forward packets to a "real server" without changing the source IP so the real server will...