@af9yeiwo wrote:
I have a router running OpenWrt which also establishes my internet connection.
There are two interfaces, eth0 and pppoe-wan.
I have uhttpd running on the router, set up to bind only on the IP-address of the interfaces eth0 (192.168.0.1:80 and 192.168.0.1:443). So far so good.
I want haproxy to listen on port 443, only on the interface pppoe-wan, and not bind to anything on interface eth0, so I came up with the following configuration.
bind :443 interface pppoe-wan ssl crt /etc/ssl/certs/mycert.pem
Now when I start it, it complains with the following message:
[ALERT] 230/220855 (19971) : Starting frontend fe_xxxxx: cannot bind socket [0.0.0.0:443]
I can not specify the IP-address to bind to since it changes every day.
How can I make sure haproxy binds only to the pppoe-wan interface on port 443 and not on any other interface as well?
Posts: 3
Participants: 2