<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
On my system, the wifidog.conf is located here:<br><br>/usr/local/etc/wifidog.conf<br><br>In this file, there is an option:<br><br>GatewayInterface<br><br>You might want to change this to whatever you virtualbox interface is and restart the service.<br><br>Also, try changing the error reporting set by Wifidog.<br><br>This was set in a lot of the PHP files under /var/www/wifidog-auth/<br><pre class="code">error_reporting(E_ALL);<br><br>We changed it to:<br><br>error_reporting(E_ALL ^E_NOTICE);<br><br>-Reggie<br><br></pre><br><br>"If you ever find yourself on the side of the majority, it is time to pause, and reflect." -- Mark Twain <br><br><br><br>> Date: Mon, 15 Dec 2008 13:38:42 -0500<br>> From: osvaldo.baires@gmail.com<br>> To: wifidog@listes.ilesansfil.org<br>> Subject: Re: [isf-wifidog] regarding an ubuntu gateway<br>> <br>> Hi:<br>> > I made some notes here:<br>> > http://justuber.com/publicwifi:public_wireless_internet_access<br>> ><br>> > These are from a year or two ago when I was setting up Wifidog on Ubuntu and<br>> > Debian machines. Feel free to have a read and see if anything is of use to<br>> > you.<br>> I had followed the same steps that are shown in that guide. The<br>> proxy.sh script is working ok (prevents the client machine from<br>> connecting to port 22 of the gateway).<br>> <br>> Now the wididog daemon is preventing the client machine to access the<br>> Internet, but then, it's not doing the redirection of port 80.<br>> <br>> The rule is there:<br>> <br>> iptables -nL -t nat | grep 80<br>> REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp<br>> dpt:80 redir ports 2060<br>> <br>> but it does nothing, if I try to surf, the browser just keeps on<br>> trying to connect to the remote server but don't go to the<br>> authenticacion server page.<br>> <br>> Regards,<br>> Osvaldo<br>> <br>> <br>> On Mon, Dec 15, 2008 at 1:01 PM, Chris Rowson<br>> <christopherrowson@gmail.com> wrote:<br>> > Hi:<br>> >><br>> >> I just setup wifidog on an ubuntu 8.04 machine. There I setup both,<br>> >> the gateway and the auth-server.<br>> >> Then, I setup a virtualbox virtual machine which is supposed to use<br>> >> the wifidog gateway in order to gain access to Internet.<br>> >> The problem is that wifidog starts, setup the iptables rules, but the<br>> >> virtual machine keeps on having access to Intenet.<br>> >> The setup is something like this:<br>> >> <internet> - <ubuntu-gw> - <ubuntu-virtual interface> -<br>> >> <virtual-machine interface> - <virtual machine><br>> >> Without wifidog, the virtual machine is able to surf the Internet<br>> >> thanks to an iptables MASQUERADE command. As soon as the wifidog is<br>> >> started, I asumed the conection between the virtual machine and<br>> >> Internet should be interrupted but that's not happening.<br>> >> Could anyone point me on what i'm doing wrong?<br>> >> I installed wifidog using the cvs version and setup the validation<br>> >> grace period to 2 seconds.<br>> >> Regards,<br>> >> Osvaldo<br>> >> _______________________________________________<br>> ><br>> ><br>> > Chris<br>> > _______________________________________________<br>> > WiFiDog mailing list<br>> > WiFiDog@listes.ilesansfil.org<br>> > http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog<br>> ><br>> _______________________________________________<br>> WiFiDog mailing list<br>> WiFiDog@listes.ilesansfil.org<br>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog<br><br /><hr />Send e-mail faster without improving your typing skills. <a href='http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008' target='_new'>Get your HotmailŪ account.</a></body>
</html>