Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17934

Any IPTables people want to give me a hand?

$
0
0

I'm looking to redirect all youtube traffic out a second ISP link, I'm thinking I can do this with iptables on my main proxy with a command like this: iptables -t nat -A PREROUTING -p tcp --dport 80 -m string --algo bm --string 'youtube.com' -j REDIRECT --to-destination 10.10.10.10:3128

Where 10.10.10.10 is the proxy server connected to the other ISP link. Am I barking up the wrong tree?

submitted by stinndler
[link][6 comments]

Viewing all articles
Browse latest Browse all 17934

Latest Images

Trending Articles



Latest Images