mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
proxy protocol: add list of allowed IP addresses and IP ranges
"proxy_allowed" setting allows to specify the allowed IP address and IP ranges that can send the proxy header. This setting combined with "proxy_protocol" allows to ignore the header or to reject connections that send the proxy header from a non listed IP
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
"setstat_mode": 0,
|
||||
"enabled_ssh_commands": ["md5sum", "sha1sum", "cd", "pwd"],
|
||||
"keyboard_interactive_auth_program": "",
|
||||
"proxy_protocol": 0
|
||||
"proxy_protocol": 0,
|
||||
"proxy_allowed": []
|
||||
},
|
||||
"data_provider": {
|
||||
"driver": "sqlite",
|
||||
|
||||
Reference in New Issue
Block a user