Jump to content

nikki81

Active Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by nikki81

  1. Will this script work ?

    #!/bin/bash

    IP=$(/sbin/ifconfig eth1| grep 'inet addr:'| cut -d: -f2|awk '{print $1}')

    MASK=${IP%.*}.0

    echo '1' > /proc/sys/net/ipv4/ip_forward

    iptables -I FORWARD -s $MASK/255.255.255.0 -j DROP

    iptables -A FORWARD -i eth1 -o wlan0 -s $MASK/24 -m state --state NEW -j ACCEPT

    iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

    iptables -A POSTROUTING -t nat -j MASQUERADE

  2. I have flashed my alfa ap121u with fw 2.8.1 I have set it up and it seems to run well but when I try to install sslstrip it just sits on the page saying it is installing (I have setup usb with swap) but it never installs. I have tried things I have found by searching the forum but with no luck.

    Thanks

×
×
  • Create New...