Changes between Version 23 and Version 24 of WikiStart


Ignore:
Timestamp:
Nov 7, 2013, 11:07:54 PM (12 years ago)
Author:
walter
Comment:

tinyproxy nodogsplash conf

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v23 v24  
    279279
    280280#install packages
    281 opkg install pcmciautils pciutils kmod-hostap-cs kmod-pcmcia-core kmod-pcmcia-yenta iperf nmap tcpdump nano luci-app-olsr nodogsplash tinyproxy openvpn
     281opkg install pcmciautils pciutils kmod-hostap-cs kmod-pcmcia-core kmod-pcmcia-yenta ipcalc iperf nmap tcpdump nano luci-app-olsr nodogsplash tinyproxy openvpn
    282282}}}
    283283
     
    382382
    383383=== Captive Portal ===
    384 Eenvouding in te stellen voor een lokale zelfstandige node door de nodogsplash.conf te bewerken. Voor onderling verbonden nodes ala W.L. moet hier in wel het een en andere geoptimaliseerd worden!
     384Eenvoudig in te stellen voor een lokale zelfstandige node door de /etc/nodogsplash/nodogsplash.conf te bewerken en een html splash pagina toe tevoegen in /etc/nodogsplash/htdocs/splash.html. Voor onderling verbonden nodes ala W.L. moet hier in wel het een en andere geoptimaliseerd worden, update werkende versie staat op soekris nieuweenergie!
     385
     386{{{
     387GatewayInterface br-lan#lan
     388
     389FirewallRuleSet authenticated-users {
     390    FirewallRule block to 10.0.0.0/8
     391    FirewallRule allow tcp port 22
     392    FirewallRule allow tcp port 53
     393    FirewallRule allow udp port 53
     394    FirewallRule allow tcp port 80
     395    FirewallRule allow tcp port 443
     396    FirewallRule allow tcp port 3128
     397    FirewallRule allow tcp port 5001
     398    FirewallRule allow icmp
     399}
     400
     401FirewallRuleSet preauthenticated-users {
     402    FirewallRule allow tcp port 53
     403    FirewallRule allow udp port 53
     404    FirewallRule allow icmp
     405}
     406
     407FirewallRuleSet users-to-router {
     408    FirewallRule allow udp port 53
     409    FirewallRule allow tcp port 53
     410    FirewallRule allow udp port 67
     411    FirewallRule allow tcp port 22
     412    FirewallRule allow tcp port 80
     413    FirewallRule allow tcp port 443
     414    FirewallRule allow tcp port 3128
     415    FirewallRule allow tcp port 5001
     416    FirewallRule allow icmp
     417}
     418GatewayAddress 192.168.45.1
     419RedirectURL http://wirelessleiden.nl
     420}}}
    385421
    386422=== Proxy ===
    387 Eenvoudig in te stellen door tinyproxy.conf te bewerken.
     423Eenvoudig in te stellen door /etc/config/tinyproxy te bewerken.
     424{{{
     425config tinyproxy
     426        option User 'nobody'
     427        option Group 'nogroup'
     428        option Port '3128'
     429        #option Listen '192.168.1.0'
     430        option Timeout '600'
     431        option DefaultErrorFile '/usr/share/tinyproxy/default.html'
     432        option StatFile '/usr/share/tinyproxy/stats.html'
     433        option LogFile '/var/log/tinyproxy.log'
     434        option LogLevel 'Critical'
     435        option MaxClients '100'
     436        option MinSpareServers '5'
     437        option MaxSpareServers '20'
     438        option StartServers '10'
     439        option MaxRequestsPerChild '0'
     440        list Allow '127.0.0.1'
     441        list Allow '192.168.0.0/16'
     442        list Allow '172.16.0.0/12'
     443        option ViaProxyName 'tinyproxy'
     444        list ConnectPort '443'
     445        option enabled '1'
     446}}}
    388447
    389448== Routing opzet ==