You are not logged in.
Pages: 1
Hi,
I would like to be able to have different application running on the same computer to use different IPs. Is that something that can be done even if the application does not offer the option to specify an IP ? My motivation for doing this is to solve a QoS nightmare that I'm having where ports have to stay random and layer 7 can't be used either to apply QoS rules.
Any suggestion on how it can be done will be very appreciated.
Thanks
Offline
You might be able to use the UID option in iptables if the applications run as different users:
iptables -t nat -A OUTPUT -m owner --uid-owner user1 -j SNAT --to 192.168.1.1
iptables -t nat -A OUTPUT -m owner --uid-owner user2 -j SNAT --to 192.168.1.2Replace 'user1' and 'user2' with the appropriate users.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1