Your Name 1 year ago
parent
commit
0e98e14854
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hotspot_offline/hotspot_offline

+ 1 - 0
hotspot_offline/hotspot_offline

@@ -45,3 +45,4 @@ wpa_passphrase=Password
 
 sudo nano /etc/default/hostapd
 DAEMON_CONF="/etc/hostapd/hostapd.conf"
+sudo iptables -t nat -A PREROUTING -d 0/0 -p tcp --dport 80 -j DNAT --to-destination 192.168.4.1:80