Forum

Binding Interface option - also enable ifname, not just ip address

Raphaël HUCK
3 April 2008, 16:55
For the binding option, an interface can be specified like this:

Binding {
Port = 80
Interface = 192.168.1.1
}


but only with its IP address.

It would be useful to also allow an interface name (eg eth0,...), as it is more convenient if you don't want to hardcode an IP address in the config file.

Example :
Binding {
Port = 80
Interface = eth0
}
Hugo Leisink
14 April 2008, 10:05
Sorry for my late response. About the interface selecting: I'll stick with the IP-addresses. Selecting an interface via it's name is a little complex. Specially if you want to do it on multiple OS-es.
This topic has been closed.