Jump to content

stevancw

Members
  • Content Count

    2
  • Joined

  • Last visited

About stevancw

  • Rank
    Newbie
  1. Same issue here. If I hide open AP and enable the management AP whilst connected over USB everything is fine. If I power cycle the nano then I cannot connect (incorrect password). Resetting or updating the management AP password or changing MAC address of wlan0-1 sometimes fixes it. I can also fix it by setting the configuration to default. In all cases it's necessary to 'forget' the previous connection. I have factory reset the nano and set up via Linux and Mac with no difference. Problem persisted with latest firmware (1.1.3) upgrade. Did anyone work out what is happening?
  2. I really loved the last two episodes on creating a VPN. I have a Wifi Pineapple Nano and have setup a VPN server and can manually connect . I used the forwarding 'foo' code in the video to get client forwarding working. Now I wanted to make it so that the openvpn client and the forwarding script works on startup but I cannot seem to get it working. I've done some searching but cannot think of where to go from here. I've put this in /etc/init.d/ #!/bin/sh # Start the openvpn service openvpn client.ovpn #Setup forwarding for clients iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o tun0 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o tun0 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i tun0 -j ACCEPT And created a symlink to /etc/rc.d/ If I run the commands separately it all works however I cannot get it to run on boot. Should they be run as two different processes? Is it because openvpn is running the second won't trigger. Not sure if it's my lack of understanding of Unix/bash scripting or something else. Thanks for your time guys.
×
×
  • Create New...