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
сервис_captive_portal [2014/06/16 12:12]
val [Linux(Ubuntu)]
сервис_captive_portal [2014/06/17 13:34] (current)
val
Line 17: Line 17:
  
 conntrack -F conntrack -F
 +</​code>​
 +
 +===== FreeBSD =====
 +<​code>​
 +gate# cat /​etc/​pf.conf
 </​code><​code>​ </​code><​code>​
-root@gate:​~#​ cat /var/www/index.php+rdr on em0 proto tcp from 192.168.X/24 to any port 80 -> 127.0.0.1 port 80 
 + 
 +nat on em1 from 192.168.X/24 to any -> 172.16.1.X 
 +</code> 
 + 
 +===== Apache ===== 
 + 
 +<​code>​ 
 +# cat index.php
 </​code><​code>​ </​code><​code>​
 <​HTML>​ <​HTML>​
сервис_captive_portal.1402906347.txt.gz · Last modified: 2014/06/16 12:12 by val