I am having a functional (which means I have no trouble reaching any host) VPN (tinc) running on a scaleway instance.
Now I am trying to route my internet traffic from a client pc through this vpn.
I have set up on a vpn server:
net.ipv4.ip_forward = 1 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
still if i change the route on my client (10.8.0.18 is the private ip of the vpn server)
ip route add 220.127.116.11 via 10.8.0.18
the IP (and only this)
18.104.22.168 becomes unreachable. I suppose that it has something to do with the fact, that the scaleway servesr itself is behind a nat.
Could you please give me some hint how to configure my iptables there?
Thanks a lot