[isf-wifidog] regarding an ubuntu gateway

Reggie Griffin reggie_griffin at hotmail.com
Lun 15 Déc 15:40:53 EST 2008


On my system, the wifidog.conf is located here:

/usr/local/etc/wifidog.conf

In this file, there is an option:

GatewayInterface

You might want to change this to whatever you virtualbox interface is and restart the service.

Also, try changing the error reporting set by Wifidog.

This was set in a lot of the PHP files under /var/www/wifidog-auth/
error_reporting(E_ALL);

We changed it to:

error_reporting(E_ALL ^E_NOTICE);

-Reggie



"If you ever find yourself on the side of the majority, it is time to pause, and reflect." -- Mark Twain 



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

_________________________________________________________________
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20081215/8acc30be/attachment.htm 


Plus d'informations sur la liste de diffusion WiFiDog