diff options
Diffstat (limited to 'ap.sh')
| -rwxr-xr-x | ap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#!/usr/bin/bash +GATEWAY=192.168.0.1 + +iptables -t nat -A PREROUTING -s 192.168.0.0/255.255.255.0 -p tcp -j DNAT --to-destination $GATEWAY +./create_ap -n -g $GATEWAY wlp2s0 Internet |
