Route a particular device through vpn for a device

Can some one guide me how to configure vpn on Openwrt when i connect a particular device ,it should route all data through the vpn and the rest should go through normal route.I think we can give a static ip if we cannot filter through a mac id. Let me know what are the options or any ideas? Is it also possible to route dns requests also because some websites shows the sites based on the ip address.

1 Like