User Tools

Site Tools


сервис_captive_portal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_captive_portal [2026/05/03 13:23]
val [pfSense]
сервис_captive_portal [2026/05/04 10:23] (current)
val [Services/Captive Portal]
Line 6: Line 6:
   * [[https://​ftp.fagskolen.gjovik.no/​pub/​pfSense/​]]   * [[https://​ftp.fagskolen.gjovik.no/​pub/​pfSense/​]]
   * [[https://​simplificandoredes.com/​en/​install-pfsense-on-virtualbox/​]]   * [[https://​simplificandoredes.com/​en/​install-pfsense-on-virtualbox/​]]
-<​code>​ 
-По умолчанию,​ em0 WAN, em1 LAN 
  
 +==== Базовая настройка ====
 +
 +  * По умолчанию,​ em0 WAN, em1 LAN
 +<​code>​
 Username: admin Username: admin
 Password: pfsense Password: pfsense
Line 14: Line 16:
  
 Через консоль назначаем LAN IP: 192.168.X.1/​24 Через консоль назначаем LAN IP: 192.168.X.1/​24
 +</​code>​
  
-Подключаемся через Web и отвечаем на вопросы Визарда:​ +  * Подключаемся через Web и отвечаем на вопросы Визарда:​ 
 +<​code>​
 Hostname: gate Hostname: gate
 Domain: corpX.un Domain: corpX.un
Line 28: Line 31:
 IP Address: 172.16.1.X IP Address: 172.16.1.X
 Subnet Mask: 24 Subnet Mask: 24
 +Add a new gateway ...
  
 Admin Password: Pa$$w0rd Admin Password: Pa$$w0rd
 +
 +Services/​DNS Resolver/​General Settings/​Enable:​ false
 </​code>​ </​code>​
  
-==== Captive Portal ​====+==== Services/​DHCP Server/​LAN ​====
  
 <​code>​ <​code>​
-HTTPS server name: 192.168.1.1 +Address Pool Range: 192.168.13.101 - 192.168.13.109 
-Allow only users/groups with "Captive ​portal ​login" privilege set+DNS Servers: 192.168.13.10 
 +</​code>​ 
 + 
 +==== System/​Certificates/​Certificates ==== 
 + 
 +  * [[Пакет OpenSSL#​Создание самоподписанного сертификата]] wild 
 + 
 +==== System/​Advanced/​Admin Access ==== 
 + 
 +  * SSL/TLS Certificate:​ wild 
 + 
 +==== System/User Manager/​Authentication Servers ==== 
 + 
 +  * [[Сервис FreeRADIUS]] 
 + 
 +<​code>​ 
 +Descriptive name: radius server 
 +Type: RADIUS 
 +Hostname or IP address: server 
 +Shared Secret: testing123 
 +RADIUS NAS IP Attribute: LAN... 
 +</​code>​ 
 + 
 +==== Services/​Captive ​Portal ==== 
 + 
 +<​code>​ 
 +Interfaces: LAN 
 + 
 +Authentication Method: Authentication backend !!! По умолчанию 
 +Authentication Server: radius server 
 +NAS Identifier: gate 
 + 
 +Enable HTTPS login: yes 
 +HTTPS server name: gate.corpX.un 
 +SSL/TLS Certificate:​ wild 
 + 
 +Services/​Captive Portal/​corpX/​Allowed IP Addresses 
 +192.168.X.10
 </​code>​ </​code>​
 ===== Самописный вариант ===== ===== Самописный вариант =====
сервис_captive_portal.1777803809.txt.gz · Last modified: 2026/05/03 13:23 by val