New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Split-tunneling traffic
Is it possible to make a user on linux (4.x kernel) have its traffic silently forced out through tun0 or gre0? The underlying application running in that user doesn't support any form of IP bind or proxy natively.
I'm pretty sure there is some way to flag via uid but not sure what terms to google for this time
(This is for a reverse proxied application that doesn't have internet access on eth0 directly, only internal network access.)
Comments
https://www.cyberciti.biz/tips/block-outgoing-network-access-for-a-single-user-from-my-server-using-iptables.html
For routing through a tunnel, use the
MARK
target with iptables and then anip rule
by that mark.