Hi,
I am new to m0n0wall. I have a domain name registered for the m0n0wall. Now my requirement is,
whenever user is coming into the network and is redirected to the captiveportal, instead of LAN IP
of m0n0wall, domain name should be displayed.
In /usr/local/captiveportal/index.php I got one place where we are specifying
$ourhostname = $config['interfaces'][$config['captiveportal']['interface']]['ipaddr'] . ":8000";
I modified the above line as below
$ourhostname = $config['interfaces'][$config['captiveportal']['interface']]['hostname'] . ":8000";
And I have following entries in Services > DNS Forwarder
Enable DNS Forwarder - checked
Register DHCP leases in DNS forwarder - checked
and have some entries in Host and Domain.
But now when I am trying to browse from client machine I am not getting captiveportal, but if I type
HYPERLINK "http://domainname.com"http://domainname.com, I am able to get the WebGUI for m0n0wall.
I want my clients to get redirect to domain and not IP of m0n0wall.
Please help, its urgent.
Thanks in advance
Regards
Smita Jadhav
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date: 2/27/2008 4:34 PM |