[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Anonymous/Nonymous Communication Coexisting?
>
> #Send to transocks
> for host in ${INCLUDE} ; do
> #iptables -t nat -A PREROUTING -s ${host} -p tcp -j LOG --log-level
> info --log-prefix "SOCKSify "
> iptables -t nat -A PREROUTING -s ${host} -d ! 192.168.10.1 -p
> tcp --dport 80 -j REDIRECT --to-port 3128
> #iptables -t nat -A PREROUTING -s ${host} -p tcp --dport 80 -j
> DNAT --to 192.168.10.1:3128
> iptables -t nat -A POSTROUTING -s ${host} -d 192.168.10.1 -j
> SNAT --to-source 192.168.10.1
> iptables -t nat -A PREROUTING -s ${host} -p tcp -j
> REDIRECT --to-port 1211
> iptables -t nat -A PREROUTING -s ${host} -j DROP
> done
>
> # Socksify traffic leaving this host:
> #iptables -t nat -A OUTPUT -p tcp --syn -j PREROUTING
>
>
> Markus
>
>
Cool Markus, Thank you very much. I'll look deeper into it.
Seems pretty straightforward though. You gave me a good point where to get
started.