Commit d1ba8e0e authored by Theo Maillart's avatar Theo Maillart

fix docker script & wifi instructions seems OK

parent d59f302a
......@@ -15,28 +15,30 @@ conf t
int Dot11radio0
no shut
channel 06
end
int Dot11radio1
no shut
channel 36
end
!!!!!!!!!!!!!! configure VLANs 82-83 via web interface
!!!!!!!!!!!!!! configure Radius server via web interface
! ssid conf
conf t
dot11 ssid Personnel82
vlan 82
authentication open
dot11 ssid Invite83
vlan 83
authentication open
int Dot11Radio0
ssid Personnel82
ssid Invite83
encryption vlan 82 mode ciphers aes-ccm
int Dot11Radio1
ssid Personnel82
ssid Invite83
encryption vlan 82 mode ciphers aes-ccm
end
! missing encryption activation
......@@ -44,8 +46,10 @@ end
! configure WPA first then use radius
conf t
dot11 ssid Personnel82
authentication key-management wpa version 2
wpa-psk ascii UtiliserRadius
authentication open eap auth-cisco
authentication network-eap eap_methods
authentication key-management wpa
dot11 ssid Invite83
authentication key-management wpa version 2
wpa-psk ascii UtiliserRadius
......@@ -66,12 +70,18 @@ end
!!!Radius
conf t
aaa group server radius rad_eap
server 10.0.82.4 auth-port 1812 acct-port 1813
exit
aaa new-model
aaa group server radius RadiusServers
aaa authentication login default group radius local
aaa authentication login eap_methods group rad_eap
radius-server host 10.0.82.4 auth-port 1812 acct-port 1813 key sr06
end
aaa authentication login mac_methods local
aaa authentication login localauth local
aaa authentication ppp default if-needed group radius local
aaa authorization exec default group radius local
aaa authorization network default group radius local
aaa accounting delay-start
aaa accounting exec default start-stop group radius
aaa accounting network default start-stop group radius
aaa accounting network acct_methods start-stop group rad_acct
write memory
#!/bin/bash
docker network rm vlan82 vlan83
docker rm container1 container2
docker network create -d macvlan --subnet=10.0.82.0/24 --gateway=10.0.82.1 -o parent=ens9.82 vlan82
docker network create -d macvlan --subnet=10.0.83.0/24 --gateway=10.0.83.1 -o parent=ens9.83 vlan83
docker run --name=container1 --hostname=container1 --net=vlan82 \
--ip=10.0.82.3 -p21-22:21-22 -p 80:80 -p 10000-10010:10000-10010 \
-d server:sr06
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment