[Lugro-mesh] authorization on eth0 in client mode
Marian Labaj
labaj.marian en gmail.com
Jue Feb 4 18:19:31 ART 2010
Hi Julio,
OK, thanks, ssh works
In client mode - authentication page wifidog will not appear when
connecting to eth0, LAN access is not verified,
authentication page is displayed only for ath0 interface - a public AP.
/etc/wifidog.conf:
GatewayID 32789
ExternalInterface bat0
GatewayInterface ath0
GatewayAddress 10.128.21.1
CheckInterval 60
ClientTimeout 5
....
/etc/init.d/nightwing
....
## Set config for WiFiDog
sed -i '
{
/GatewayID/s/GatewayID default/GatewayID '$NODE_ID'/;
s/GatewayAddress/GatewayAddress '$IP_PUBLIC_AP'/;
}' /etc/wifidog.conf
mv /etc/wifidog.conf /etc/wifidog.conf.sample
ln -s $WIFIDOG_CONF /etc/wifidog.conf
....
....
client)
....
# WiFiDog uses Mesh interface
sed -i "s/ExternalInterface .*/ExternalInterface "$TUNNEL_IFACE"/"
$WIFIDOG_CONF
....
2010/2/4 Julio Cesar Puigpinos <jcpuigpinos at gmail.com>:
> 2010/2/4 Julio Cesar Puigpinos :
>> [..]
>>
>> To allow SSH in the Mesh interface you have to add a line: $IPTABLES
>> -I INPUT -i $MESH_IFACE -p tcp --dport 80 -j ACCEPT in both gateway an
>> client modes.
>> [...]
>
> A typo in the iptables rule :P, it should be --dport 22:
>
> $IPTABLES -I INPUT -i $MESH_IFACE -p tcp --dport 22 -j ACCEPT
>
>
> Saludos, Julio
>
> --
> www.lugro-mesh.org.ar/ Wireless Mesh Networks Group
> www.lugro.org.ar GNU/Linux User Group Rosario, Argentina
> Slackware rulez :P www.slackware.org
> NO A LA MATRICULA!!!: http://noalamatricula.wordpress.com/
> _______________________________________________
> Lugro-mesh mailing list
> Lugro-mesh at lugro.org.ar
> http://lugro.org.ar/mailman/listinfo/lugro-mesh
>
Más información sobre la lista de distribución Lugro-mesh