Entradas

Mostrando las entradas etiquetadas como Tomato

Configurar Tomato con Movistar Internet y TV (España)

Imagen
Vamos a configurar Movistar Internet y TV en tu router con Tomato firmware. Todo lo que hagas a partir de ahora es bajo tu responsabilidad. No me responsabilizo de nada que pueda ocurrir por uso o mal uso de la información más abajo. Enlaces para descargar firmware tomato más abajo. Configura las siguientes secciones de tu router: Basic Network pppoe adslppp@telefonicanetpa adslppp Advanced Settings/VLAN 6 6 wan tagged WAN 2 2 wan tagged 3 3 wan tagged Reinicia para ver  que tengas internet. Continua cuando tengas internet. Advanced Settings/Conntrack/Netfilter/ enable RTSP Administration/Scripts/Init #No need to change overclock, search in google for more info on your router #nvram set clkfreq=1000,800 # Config igmpproxy echo "quickleave phyint vlan2 upstream ratelimit 0 threshold 1 altnet 10.0.0.0/8 altnet 172.26.0.0/16 altnet 172.23.0.0/16 phyint br0 downstream ratelimit 0 threshold 1 phyint br1 disabled phyint eth0 disabled phyint ...

Tomato shibby a asus RT-N16

Imagen
Con este router podemos optar por varios firmwares. Tomato shibby ( el que queremos poner ) DDWrt Oleg firmware Merlin firmware Para poner  el tomato shibby hay que poner primero el  ddwrt mini. Nos bajamos dd-wrt.v24-14929_NEWD-2_K2.6_mini_RT-N16.trx Nos bajamos (tomato shibby)  http://tomato.groov.pl/download/K26/build5x-131-EN/tomato-K26USB-1.28.RT-MIPSR2-131-AIO.zip Descomprimimos el zip. Habrá un fichero trx que subiremos más tarde. Abrir http://192.168.1.1/ y  hacer un Restore Factory Default Settings. Abrir http://192.168.1.1/ Ir a Administration tab -> Firmware Upgrade Subir el ddwrt-mini,esperar entre 5-15 minutos. Habrá reiniciado sino deberemos desconectarlo de la corriente Ahora una vez ya instalado el ddwrt mini vamos a flashearlo con el tomato-shibby. Abrir http://192.168.1.1/ (user:admin,pass:admin) Ir a Administration -> Factory Defaults -> click Yes -> select Apply Settings.  Una vez reiniciado , Abrir htt...

Seguridad wireless ( segunda parte )

Imagen
Configurar cliente openvpn. Cliente linux dentro de /etc/openvpn/client.conf client port 1194 proto udp dev tap remote 192.168.10.1 resolv-retry infinite nobind user nobody group nobody persist-key persist-tun keepalive 15 60 mute-replay-warnings up /etc/openvpn/client.up up-restart down /etc/openvpn/client.down down-pre ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/client1.crt key /etc/openvpn/easy-rsa/keys/client1.key ns-cert-type server # If a tls-auth key is used on the server # then every client must also have the key. ;tls-auth ta.key 1 comp-lzo no verb 3 mute 5 copiar client.up y client.down de openvpn2.1 copiar los archivos ca.crt client1.crt client1.key. ejecutamos: ifconfig weth 192.168.10.x route add default gw 192.168.10.1 openvpn --daemon --config /etc/openvpn/home.ovpn Si hemos hecho todo correcto nos conectaromes por vpn dentro de una wifi insecura.

Seguridad wireless ( primera parte )

Imagen
Proteger wireless sin encriptación con vpn. En esto caso usaremos un linksys wrt54gs con el firmware tomato vpn ( http://www.linksysinfo.org/forums/showthread.php?t=53233 red wireless 192.168.10.* red interna 192.168.1.* Activamos jffs Desactivamos dhcp Introducimos: dentro de script firewall: iptables -I INPUT -i eth1 -p udp --dport 1194 -j ACCEPT dentro de script wan up: insmod tun.o brctl delif br0 eth1 ifconfig eth1 192.168.10.1 netmask 255.255.255.0 killall nas nas -P /var/run/nas.pid -l eth1 -H 34954 -i eth1 -A -m 128 -k yourwpa2key -s youraccespointname -w 4 -g 3600 & openvpn --mktun --dev tap0 brctl addif br0 tap0 ifconfig tap0 0.0.0.0 promisc up ln -s /usr/sbin/openvpn /tmp/myvpn /tmp/myvpn --config /jffs/openvpn.conf dentro de /jffs/openvpn.conf : cd /jffs port 1194 proto udp dev tap0 tls-server ca ca.crt cert server.crt key server.key dh dh1024.pem server-bridge 192.168.1.1 255.255.255.0 192.168.1.100 192.168.1.200 client-config...