what i want to do is to start the daemon in to diferent ways.
one for the wan card and the other for the lan card!
so if you acces the router from the web you get acces to some options, and if you do it form lan you get anothers!
i need the option to bind the daemon to a interface or ipaddress
Thank you
Topic: Help me configure httpd
The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
I think the only way with BBs httpd is to run two instances on different ports and open one on the WAN. Busyboxes httpd can be configured using UCI (/etc/config/httpd). Just add another section to the config file for a new instance.
(Last edited by forum2008 on 17 Jun 2008, 19:18)
I don't think you can get it to listen per IP...
http://wiki.openwrt.org/OpenWrtDocs/httpd.conf
http://wiki.openwrt.org/OpenWrtDocs/httpd
Might have to use something like apache rather than the busybox httpd
I think the only way with BBs httpd is to run two instances on different ports and open one on the WAN. Busyboxes httpd can be configured using UCI (/etc/config/httpd). Just add another section to the config file for a new instance.
I will try this!
how can i close port 81 for the lan network? and open for wan?
Thx!
The discussion might have continued from here.