Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Haproxy : tcp-request connection Close the connexion in 60 seconds

$
0
0

Hello
i have this haproxy configuration to pass traffic to windows FTP server in backend:

frontend myFTPservice
bind 192.168.1.10:1025-1100,192.168.1.10:555
mode tcp
acl AllowClientIPs src -f /etc/haproxy/clientListIPs.lst
tcp-request connection reject if !AllowClientIPs
option tcplog
default_backend MyBackFTPserver

backend MyBackFTPserver
mode tcp
server serverFTP 172.16.11.10

This configuration works but the problem is that if i connect (via fileZilla or Winscp) to that FTP using this config , it closes the connexion after 60secondes if no activity …
when i comment the line of " #tcp-request connection…" which mean i allow the access from anywhere to that FTP not from the client ip only , after 60 secondes of no activity the FTP keep open and doesn’t close connection…
is there a way to keep using the “tcp-request connection reject” and avoid that connection close after 60 secondes if no activity ?
ps : i have tried adding server timeout and client timeout to the backend but that didn"t solve the issue.

any idea please ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>