IPTables – Route traffic from vpn tunnel

Tun0 = VPN Tunnel

eth1 = local network

all the request coming from local network @eth1 will forward to tun0. so you do not need to have a site2site vpn, this 4 commands will make your linux as route/vpn gateway.

 

Leave a Reply