[isf-wifidog] regarding an ubuntu gateway
osvaldo.baires at gmail.com
Lun 15 Déc 13:38:42 EST 2008
> I made some notes here:
> 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
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.
On Mon, Dec 15, 2008 at 1:01 PM, Chris Rowson
<christopherrowson at gmail.com> wrote:
>> 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.
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
Plus d'informations sur la liste de diffusion WiFiDog