diff --git a/Draytek/README.md b/Draytek/README.md index 9290161..91da0e7 100644 --- a/Draytek/README.md +++ b/Draytek/README.md @@ -7,19 +7,19 @@ Device: Draytek Vigor2862 Redirect Method: GET ``` -Redirecting client to captive portal:- +URL format and passed parameters when redirecting client to captive portal:- ``` -URL format: http:///login.php?apmac=&clientmac=&loginurl=&target= +http:///login.php?apmac=&clientmac=&loginurl=&target= ``` Redirecting client from captive portal to router (for authorization):- ``` URL format: http://portal.draytek.com:8001/cgi-bin/wifilogin.cgi?username=&password= ``` -Apache Access Log (on captive portal server):- +Example of Apache Access Log (on captive portal server):- ``` apmac=00-1D-AA-09-44-10&client_mac=D8-8F-76-6D-A8-7B&loginurl=http://portal.draytek.com:8001/cgi-bin/wifilogin.cgi&target=http://captive.apple.com/hotspot-detect.html HTTP/1.0" 404 379 "-" "CaptiveNetworkSupport-355.270.2 wispr" ``` -RADIUS Access-Request Packet (in FreeRADIUS debug):- +Example of RADIUS Access-Request Packet (in FreeRADIUS debug):- ``` User-Name = "draytek" User-Password = "draytek"