I'm finding a way to run VPN server and client on one host. Is there any method ?
(sorry but I'm not goot at English......)
I want to control packets on android, for streaming data caching. So I need to block outgoing HTTP request(case of cache hit).
In case of using two hosts, I works perfectly. And in one host, I have thought it will work like following method:
Mark per username who run processes using iptables, and make routing tables which can work through VPN or default gateway.
But I cannot connect to internet. So I checked 'ip route ls table cache' and found that cannot reach default gateway.
(screenshot link: docs.google.com/presentation/d/1Uu7Xm4iKOmE4s9zLUu7TBf_pMd85Gou-rIW_GRONqBQ/pub)
Is there an any way to solve this problem? or some books or docs...
Have a nice day!