<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Mine is this:<br><br>GatewayID wireless<br>ExternalInterface eth0<br>GatewayInterface eth2<br><br>AuthServer {<br> Hostname wireless.host.name<br> SSLAvailable yes<br> SSLPort 443<br> Path /<br>}<br><br>It's been a while, but I believe I experienced some problems when I had the GatewayAddress uncommented. I just let<br>wifidog pick it up from the interface name.<br><br>-Reggie<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 16:10:54 -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>> > On my system, the wifidog.conf is located here:<br>> ><br>> > /usr/local/etc/wifidog.conf<br>> Yes, i did the same thing.<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<br>> > restart the service.<br>> I did it also.<br>> The following is from the /usr/local/etc/wifidog.conf file:<br>> <br>> GatewayID 0<br>> GatewayInterface br1<br>> GatewayAddress 192.168.1.1<br>> AuthServer {<br>> Hostname wifidog.localhost<br>> SSLAvailable no<br>> Path /<br>> }<br>> <br>> <br>> brctl show<br>> bridge name        bridge id                STP enabled        interfaces<br>> br0                8000.001fe182dc1a        no                eth1<br>> br1                8000.00ff59e6bc17        no                tap0<br>>                                                         tap3<br>> <br>> I'm using a wireless connection (eth1). I created a second brigde for<br>> the virtual interfaces. tap0 is my gateway ip and tap3 is the<br>> interface from the virtual machine:<br>>                                                         <br>> root@vostro:/usr/local/etc# ifconfig<br>> br0 Link encap:Ethernet HWaddr 00:1f:e1:82:dc:1a<br>> inet addr:192.168.0.216 Bcast:192.168.0.255 Mask:255.255.255.0<br>> br1 Link encap:Ethernet HWaddr 00:ff:59:e6:bc:17<br>> eth0 Link encap:Ethernet HWaddr 00:1c:23:5a:c9:0a<br>> eth1 Link encap:Ethernet HWaddr 00:1f:e1:82:dc:1a<br>> tap0 Link encap:Ethernet HWaddr 00:ff:dc:ef:0b:44<br>> inet addr:192.168.1.1 Bcast:0.0.0.0 Mask:255.255.255.255<br>> tap3 Link encap:Ethernet HWaddr 00:ff:74:1c:d7:0d<br>> <br>> The only two interfaces with IP address are br0 (on behalf of eth1)<br>> and tap0, my gateway for the virtual machine network.<br>> The routes are:<br>> <br>> ip route ls<br>> 192.168.1.0/24 dev br1 scope link<br>> 192.168.1.0/24 dev tap0 scope link<br>> 192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.216<br>> default via 192.168.0.1 dev br0 metric 100<br>> <br>> <br>> <br>> /etc/hosts<br>> 127.0.0.1        localhost<br>> 192.168.1.1        wifidog.localhost wifidog<br>> <br>> > Also, try changing the error reporting set by Wifidog.<br>> > This was set in a lot of the PHP files under /var/www/wifidog-auth/<br>> > error_reporting(E_ALL);<br>> > We changed it to:<br>> > error_reporting(E_ALL ^E_NOTICE);<br>> I'm trying that right now, I'll let you know if I find something.<br>> Regards,<br>> Osvaldo<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<br>> >> > and<br>> >> > Debian machines. Feel free to have a read and see if anything is of use<br>> >> > 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>> > ________________________________<br>> > Send e-mail faster without improving your typing skills. Get your Hotmail(R)<br>> > account.<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 />You live life online. So we put Windows on the web. <a href='http://clk.atdmt.com/MRT/go/127032869/direct/01/' target='_new'>Learn more about Windows Live </a></body>
</html>