[squid-users] Native FTP relay: connection closes (?) after 'cannot assign requested address' error

Alexander goal81 at gmail.com
Thu Jan 26 16:41:21 UTC 2017


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

Thank you for your time.



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Native-FTP-relay-connection-closes-after-cannot-assign-requested-address-error-tp4681208p4681332.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list