<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>&gt; Date: Mon, 15 Dec 2008 13:38:42 -0500<br>&gt; From: osvaldo.baires@gmail.com<br>&gt; To: wifidog@listes.ilesansfil.org<br>&gt; Subject: Re: [isf-wifidog] regarding an ubuntu gateway<br>&gt; <br>&gt; Hi:<br>&gt; &gt; I made some notes here:<br>&gt; &gt; http://justuber.com/publicwifi:public_wireless_internet_access<br>&gt; &gt;<br>&gt; &gt; These are from a year or two ago when I was setting up Wifidog on Ubuntu and<br>&gt; &gt; Debian machines. Feel free to have a read and see if anything is of use to<br>&gt; &gt; you.<br>&gt; I had followed the same steps that are shown in that guide. The<br>&gt; proxy.sh script is working ok (prevents the client machine from<br>&gt; connecting to port 22 of the gateway).<br>&gt; <br>&gt; Now the wididog daemon is preventing the client machine to access the<br>&gt; Internet, but then, it's not doing the redirection of port 80.<br>&gt; <br>&gt; The rule is there:<br>&gt; <br>&gt; iptables -nL -t nat | grep 80<br>&gt; REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp<br>&gt; dpt:80 redir ports 2060<br>&gt; <br>&gt; but it does nothing, if I try to surf, the browser just keeps on<br>&gt; trying to connect to the remote server but don't go to the<br>&gt; authenticacion server page.<br>&gt; <br>&gt; Regards,<br>&gt; Osvaldo<br>&gt; <br>&gt; <br>&gt; On Mon, Dec 15, 2008 at 1:01 PM, Chris Rowson<br>&gt; &lt;christopherrowson@gmail.com&gt; wrote:<br>&gt; &gt; Hi:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I just setup wifidog on an ubuntu 8.04 machine. There I setup both,<br>&gt; &gt;&gt; the gateway and the auth-server.<br>&gt; &gt;&gt; Then, I setup a virtualbox virtual machine which is supposed to use<br>&gt; &gt;&gt; the wifidog gateway in order to gain access to Internet.<br>&gt; &gt;&gt; The problem is that wifidog starts, setup the iptables rules, but the<br>&gt; &gt;&gt; virtual machine keeps on having access to Intenet.<br>&gt; &gt;&gt; The setup is something like this:<br>&gt; &gt;&gt; &lt;internet&gt; - &lt;ubuntu-gw&gt; - &lt;ubuntu-virtual interface&gt;  -<br>&gt; &gt;&gt; &lt;virtual-machine interface&gt; - &lt;virtual machine&gt;<br>&gt; &gt;&gt; Without wifidog, the virtual machine is able to surf the Internet<br>&gt; &gt;&gt; thanks to an iptables MASQUERADE command. As soon as the wifidog is<br>&gt; &gt;&gt; started, I asumed the conection between the virtual machine and<br>&gt; &gt;&gt; Internet should be interrupted but that's not happening.<br>&gt; &gt;&gt; Could anyone point me on what i'm doing wrong?<br>&gt; &gt;&gt; I installed wifidog using the cvs version and setup the validation<br>&gt; &gt;&gt; grace period to 2 seconds.<br>&gt; &gt;&gt; Regards,<br>&gt; &gt;&gt; Osvaldo<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Chris<br>&gt; &gt; _______________________________________________<br>&gt; &gt; WiFiDog mailing list<br>&gt; &gt; WiFiDog@listes.ilesansfil.org<br>&gt; &gt; http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog<br>&gt; &gt;<br>&gt; _______________________________________________<br>&gt; WiFiDog mailing list<br>&gt; WiFiDog@listes.ilesansfil.org<br>&gt; 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>