[squid-users] SNAT BASED on tos. Anyone tried it?

Eliezer Croitoru eliezer at ngtech.co.il
Wed Dec 28 11:58:27 UTC 2016

I was wondering if someone tried to do something like this:
Mark the outgoing traffic with a TOS and create a SNAT rule in iptables to
change the source ip address?
Something like:
# iptables -t nat -A POSTROUTING -m tos --tos 0x02 -o eth0 -j SNAT

## squid.conf
tcp_outgoing_tos 0x02 !some_users


Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il

More information about the squid-users mailing list