Benutzer-Werkzeuge

Webseiten-Werkzeuge


gaeste-wlan

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
gaeste-wlan [2014/12/07 10:40]
192.168.0.12 [WiFi Dog]
gaeste-wlan [2016/08/17 12:19] (aktuell)
joky
Zeile 14: Zeile 14:
  
 === Installation === === Installation ===
-  opkg install wifidog dnsmasq+  opkg update; opkg install wifidog dnsmasq
   /etc/init.d/wifidog enable   /etc/init.d/wifidog enable
   /etc/init.d/dnsmasq enable   /etc/init.d/dnsmasq enable
Zeile 31: Zeile 31:
   config wifi-iface   config wifi-iface
         option device   radio0         option device   radio0
 +        option network  g
 +        option mode     ap
 +        option ssid     PreunerWirt_FreeWiFi
 +        option encryption none
 +        option disabled 0
 +        option isolate '1'
 +  config wifi-iface
 +        option device   radio1
         option network  g         option network  g
         option mode     ap         option mode     ap
Zeile 165: Zeile 173:
   config zone   config zone
         option name 'guest'         option name 'guest'
-        option output 'ACCEPT'+        option output 'DROP'
         option network 'g'         option network 'g'
-        option forward 'ACCEPT'+        option forward 'DROP'
         option input 'DROP'         option input 'DROP'
   config rule   config rule
Zeile 195: Zeile 203:
         option name 'Guest-192.168.x.x'         option name 'Guest-192.168.x.x'
         option proto 'all'         option proto 'all'
-        option src 'guest_'+        option src 'guest'
         option dest_ip '192.168.0.0/16'         option dest_ip '192.168.0.0/16'
         option target 'DROP'         option target 'DROP'
Zeile 219: Zeile 227:
 === /etc/firewall.user === === /etc/firewall.user ===
   iptables -t nat -I PREROUTING -p udp --dport 53 -j DNAT --to-destination 8.8.8.8:53   iptables -t nat -I PREROUTING -p udp --dport 53 -j DNAT --to-destination 8.8.8.8:53
-  iptables -t nat -I PREROUTING -i br-g -d 192.168.0.0/16 -j DROP +  iptables -I INPUT -i br-g -d 192.168.0.0/16 -j DROP 
-  iptables -t nat -I PREROUTING -i br-g -d 10.0.0.0/8 -j DROP+  iptables -I INPUT -i br-g -d 10.0.0.0/8 -j DROP
   /etc/init.d/wifidog restart   /etc/init.d/wifidog restart
  
 === /etc/wifidog.conf === === /etc/wifidog.conf ===
-  GatewayID ap-seiler+**GatewayID anpassen**! 
 + 
 +  cat <<EOF > /etc/wifidog.conf 
 +   
 +  GatewayID $HOSTNAME
   GatewayInterface br-g   GatewayInterface br-g
   HtmlMessageFile /etc/wifidog-msg.html   HtmlMessageFile /etc/wifidog-msg.html
Zeile 248: Zeile 260:
     FirewallRule allow to 0.0.0.0/0     FirewallRule allow to 0.0.0.0/0
   }   }
-    FirewallRuleSet unknown-users {+  FirewallRuleSet unknown-users {
   }   }
   FirewallRuleSet locked-users {   FirewallRuleSet locked-users {
     FirewallRule block to 0.0.0.0/0     FirewallRule block to 0.0.0.0/0
   }   }
 +  
 +  EOF
  
  
Zeile 261: Zeile 275:
   /etc/init.d/dnsmasq restart   /etc/init.d/dnsmasq restart
   /etc/init.d/wifidog start   /etc/init.d/wifidog start
-==== Coova-Chilli (veraltet) ==== 
- 
-=== Installation === 
-  # opkg update; opkg install coova-chilli 
- 
-=== Chilli.conf === 
-  interval 3600 
-  pidfile /var/run/chilli.pid 
-  radiusserver1 192.168.0.1 
-  radiusserver2 192.168.0.1 
-  radiussecret eNgai4peichuuk8Ainathooph8Ieza 
-  dhcpif br-guest 
-  uamserver http://www.smart-mt.at/chilli/login.php 
-  uamsecret shahliejuiju5ihahb4eg6eeX3Shaz 
-  uamallowed www.smart-mt.at,www.mblue.at 
-  uamanydns 
-  dns1 208.67.222.222 
-  dns2 208.67.220.220 
-  domain SmartMediaTechnology 
-  net 172.16.30.0/24 
-  tundev tun1 
  
-=== Wifi Settings === +=== Node anlegen === 
-{{ :openwrt_guestlan_wifi.jpg |}}+[[http://auth.smart-mt.at/node/new|auth.smart.at]]
  
-=== General Settings === 
-{{ :openwrt_guestlan_firewall_general.jpg |}} 
-=== Traffic Rules === 
-{{ :openwrt_guestlan_firewall.jpg |}} 
gaeste-wlan.1417948845.txt.gz · Zuletzt geändert: 2014/12/07 10:40 von 192.168.0.12