-
Notifications
You must be signed in to change notification settings - Fork 32
Config.json
jamiees2 edited this page Jan 2, 2015
·
1 revision
Field | Value | Explanation |
---|---|---|
iptables_location | iptables | The location of the iptables command. If iptables does not work, get the location by running which iptables on your router. |
bind_ip | * | The interface that HAProxy should bind to. You can specify on the command line with --bind-ip <bind_ip>
|
public_ip | The public IP address of the HAProxy server. This is automatically figured out by pinging curlmyip.com if not specified. You can specify on the command line with --ip <public_ip>
|
|
base_ip | The base ip to begin the DNAT range. Specify this if you intend to use the DNAT or local setup. If you are using the DNAT setup, specify whichever starting ip that is available. If you are using the local setup, specify any local ip. Can be set on the command line with --base-ip <base_ip>
|
|
base_port | 27200 | The base port to begin DNATing from. Specify on the command line with --base-port <base_port>
|
server_options | check inter 10s fastinter 2s downinter 2s fall 1800 | The server options for HAProxy. This does not usually have to be changed, unless you know what you are doing. |
stats.enabled | true | Specify to enable the HAProxy stats page. This allows you to monitor what is going on with your proxy. |
stats.port | 27199 | The port that the stats page should listen on |
stats.user | haproxy | The default user to access the stats page |
stats.password |