Changes between Version 58 and Version 59 of WikiStart
- Timestamp:
- May 16, 2013, 3:35:26 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v58 v59 615 615 cp rc.local rc.local.ori 616 616 nano rc.local #put before exit0 617 setterm -blength 0 #kills annoying pc speaker !!!617 setterm -blength 0 #kills annoying pc speaker after reboot!!! 618 618 619 619 ## enlarge bash_history 620 620 nano /root/.bashrc 621 export HISTFILESIZE=10000 621 export HISTFILESIZE=10000 #enlarges bash history! 622 622 623 623 ## update/install packages 624 624 apt-get update 625 apt-get install subversion openvpn freeradius isc-dhcp-server syslog-ng 625 apt-get install subversion openvpn freeradius isc-dhcp-server syslog-ng vlan tcpdump ipcalc memtest86+ 626 626 627 627 ## backup original config files/folders … … 633 633 634 634 ## setup network interfaces 635 cp /etc/network/interfaces /etc/network/interfaces.ori 635 636 nano /etc/network/interfaces 636 637 }}} … … 682 683 shortname = testsecret 683 684 } 684 }}} 685 686 #example code# /etc/freeradius/radius.conf 685 686 # if you are a iP provider for eduroam you also put the surfnet top level proxy here! 687 }}} 688 689 #example code# /etc/freeradius/radiusd.conf 687 690 {{{ 688 691 prefix = /usr … … 725 728 stripped_names = no 726 729 auth = yes 727 auth_badpass = no730 auth_badpass = yes 728 731 auth_goodpass = yes 729 732 } … … 772 775 secret = foutjebedankt 773 776 nostrip 777 } 778 }}} 779 780 #example code# /etc/freeradius/sites-enabled/default 781 {{{ 782 authorize { 783 preprocess 784 chap 785 mschap 786 digest 787 DEFAULT 788 eap { 789 ok = return 790 } 791 files 792 pap 793 } 794 authenticate { 795 Auth-Type PAP { 796 pap 797 } 798 Auth-Type CHAP { 799 chap 800 } 801 Auth-Type MS-CHAP { 802 mschap 803 } 804 digest 805 unix 806 eap 807 pap 808 } 809 session { 810 radutmp 811 } 812 post-auth { 813 } 814 pre-proxy { 815 } 816 post-proxy { 817 eap 774 818 } 775 819 }}} … … 826 870 #/sbin/ifconfig bridge0 addm $1 | exit 0 827 871 }}} 872 873 Flag the up.sh script as executable other wise openvpn cannot run! 874 {{{ 875 chmod +x /etc/openvpn/up.sh 876 }}} 877 828 878 829 879 Copy the following server/eduradprox files made on the certnode /etc/openvpn/ to the openvpn server directory. … … 1245 1295 1/2 openvpn 1246 1296 geen down.sh script voor server en client? 1297 testen broadcast AP's onderling onmogelijk? 1298 Filteren / dhcp bdup/stp requests 1299 DHCP range for ubnt AP's fixen 1247 1300 1248 1301 Veiligheid aspect, VLAN/ radius authenticatie over zelfde tunnels als de clients... isolation tussen openvpn clients de AP's zelf is actief maar isolate van de wireless users op de client nog teste? 1302 1303 AIROS cli fw update 1304 /tmp/fwupdate.bin 1305 /usr/sbin/fwupdate -m #-d paramter? 1306 1307 AIROS vlan in cfg, 1308 lan0 1212 managment 1309 lan0 3131 brigge naar wireless 1310 bridge0 -remove wlan0 1311 bridge1 add lan 3131 add wlan0 1249 1312 1250 1313 Proxy … … 1261 1324 syslog op openwrt aanzetten en testen, werkt? 1262 1325 syslog op airos aanzetten en testen, werkt? 1326 1327 Radius request lijken te worden gecached gebeurt dat op proxy met freeradius of in het ap met hostap? 1328 1329 V