I've set up openvpn using tun. I can ping both ways between client & server. But I can't ping from the client to 18.104.22.168 (as a test).
I've added nat with:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
But things don't appear to route from the tun0 interface to eth0.
tun0 shows that packets are coming in (in this case ping to 22.214.171.124 as a test):
12:21:55.956564 IP 10.8.0.10 > google-public-dns-b.google.com: ICMP echo request, id 512, seq 17153, length 40
eth0 doesn't show anything other than my ssh traffic.
I have a ping looping from the vpn client, and I see that in my
tun0, but I don't see anything "google" in my
Any thoughts? I can run this ping fine from the openvpn host. iptables are empty except for the MASQUERADE action, with defaults to accept.