Hello!
I'm trying to set up a network with Squid as proxy server. Unfortunately it seems that Squid is too slow for audio streaming purposes; in my case WLAN-radios. So my approach was simply creating some rules in my firewall that bypass Squid for my radios:
Code:
ipset -N radios hash:ip
ipset -A radios 192.168.2.40
ipset -A radios 192.168.2.41 #behind repeater
iptables -t nat -A PREROUTING -p udp --dport 80 -m set ! --match-set radios src -j REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -p tcp --dport 80 -m set ! --match-set radios src -j REDIRECT --to-port 3128
This works quite fine; streaming is not interrupted for the first radio and therefore correctly bypassed. Unfortunately the second radio still works not good. After having examined the logs I found out that the second radio is connected to the repeater and not to the router itself, so the iptables rule is not quite correct. What I actually need would be a rule that allows traffic from the repeater to the radio to be bypassed, but traffic from the repeater to all other receivers should be sent to Squid as desired. Obvioulsly I'm not too familiar to iptables, so any help is welcome!