On 26.01.17 08:41, Alexander wrote:
It seems that I have solved the issue by using nf_conntrack_ftp and redirecting "NEW,RELATED" traffic to squid: ftp_port 2121 intercept modprobe nf_conntrack_ftp ports=2121 iptables -t nat -A PREROUTING -p tcp --dport 21 -j REDIRECT --to-port 2121 iptables -t nat -A PREROUTING -p tcp -m state --state NEW,RELATED -j REDIRECT
just note that connections may be related to different connections than FTP... -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users