Setup: IPsec tunnel between Router (192.168.50.1) and linux host computer (192.168.50.10).
i want to forward the traffic (that arrived through the tunnel to the host compouter) from the host computer to the outer network.
setting ip_forward=1
didn't help
any ideas?
Are you sure it's not an routability issue? Both sides of your tunnel are RFC-1918 address space (so called private address space), which would not be understood by host computers in the "outer network". You may need to NAT the traffic at the router.
If you don't think that's the issue, try dumping the traffic (with tcpdump) to see what is actually moving on the wire.