I have the following interfaces/routes :
# ip route show 192.168.101.0/24 dev eth0 proto kernel scope link src 192.168.101.10 192.168.8.0/24 dev tun0 proto kernel scope link src 192.168.8.1 default via 192.168.101.251 dev eth0
Device eth0 is connected to a network with a gateway (192.168.101.251).
My clients are behind an access point (with some hotspot software) which is connected to tun0:
clients -> tun0 -> gateway -> eth0 -> internet
I can ping an internet host from eth0 but my clients behind the hotspot can't access internet through tun0. How do I route packets from tun0 to internet (and back) ?