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/03/29 14:56]
val [Сервис Captive Portal]
сервис_captive_portal [2026/04/26 16:20] (current)
val [pfSense]
Line 1: Line 1:
 ====== Сервис Captive Portal ====== ====== Сервис Captive Portal ======
  
-  * Captive Portal Using PHP and iptables Firewall on Linux ([[http://​aryo.info/​labs/​captive-portal-using-php-and-iptables.html]]) +===== pfSense =====
-  * Using iptables and PHP to create a captive portal ([[http://​www.andybev.com/​index.php/​Using_iptables_and_PHP_to_create_a_captive_portal]])+
  
   * [[https://​www.pfsense.org/​]]   * [[https://​www.pfsense.org/​]]
   * [[https://​ftp.fagskolen.gjovik.no/​pub/​pfSense/​]]   * [[https://​ftp.fagskolen.gjovik.no/​pub/​pfSense/​]]
 +  * [[https://​simplificandoredes.com/​en/​install-pfsense-on-virtualbox/​]]
 +<​code>​
 +По умолчанию,​ em0 WAN, em1 LAN
 +
 +Username: admin
 +Password: pfsense
 +Default IP: 192.168.1.1
 +
 +Captive Portal
 +HTTPS server name: 192.168.1.1
 +Allow only users/​groups with "​Captive portal login" privilege set
 +</​code>​
 +===== Самописный вариант =====
 +
 +  * Captive Portal Using PHP and iptables Firewall on Linux ([[http://​aryo.info/​labs/​captive-portal-using-php-and-iptables.html]])
 +  * Using iptables and PHP to create a captive portal ([[http://​www.andybev.com/​index.php/​Using_iptables_and_PHP_to_create_a_captive_portal]])
  
-===== Linux(Ubuntu) ​=====+==== Linux(Ubuntu) ====
 <​code>​ <​code>​
 root@gate:​~#​ cat nat.sh root@gate:​~#​ cat nat.sh
Line 22: Line 37:
 </​code>​ </​code>​
  
-===== FreeBSD ​=====+==== FreeBSD ====
 <​code>​ <​code>​
 gate# cat /​etc/​pf.conf gate# cat /​etc/​pf.conf
Line 31: Line 46:
 </​code>​ </​code>​
  
-===== Apache ​=====+==== Apache ====
  
 <​code>​ <​code>​
сервис_captive_portal.1774785397.txt.gz · Last modified: 2026/03/29 14:56 by val