You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
# First we added a new chain called 'REDSOCKS' to the 'nat' table.
iptables -t nat -N REDSOCKS
# Next we used "-j RETURN" rules for the networks we don’t want to use a proxy.
while read item
do
iptables -t nat -A REDSOCKS -d $item -j RETURN
done < /proxy/redsocks-whitelist.txt
# We then told iptables to redirect all port 80 connections to the http-relay redsocks port and all other connections to the http-connect redsocks port.