Jump to content

Packet Squirrel Switch3 openVPN Client Tunnel


MarkE
 Share

Recommended Posts

Hi - I cant get get my vpn to work.......

 

I have an account with strong VPN, and down loaded the config file from there website. Copied it over to the pocket squirrel, edited the file to add user name and password, as recommended  by Strong VPN, unplugged the power, switch to position three, get yellow light flashing but my ip address never changes to the VPN address?

I simplified the payload; DNS server is strong VPN DNS ( they recommended it).

#!/bin/bash
# OpenVPN payload

DNS_SERVER="216.131.95.20"

# Cheap hack to set the DNS server
function setdns() {
        while true
        do
                [[ ! $(grep -q "$DNS_SERVER" /tmp/resolv.conf) ]] && {
                        echo -e "search lan\nnameserver $DNS_SERVER" > /tmp/resolv.conf
                }
                sleep 5
        done
}

function start() {
        LED SETUP

        /usr/bin/NETMODE VPN

        sleep 3

        # Start the OpenVPN server in the background
        /etc/init.d/openvpn start

        # Start SSH Server
        /etc/init.d/sshd start &

        # Set DNS server
        setdns &

        LED ATTACK
}

# Start the payload
start &
 

 

 

 

 

 

I

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...