Jump to content

OpenVPN with user/pass?


barry99705
 Share

Recommended Posts

can I ask where did you have problem which you then solved? I want to connect my PC to VPN using login+password, but something is failing and I don't know what. I've updated Squirrel to 1.1; copied config.ovpn to /root/payloads/switch3/config.ovpn; added "auth-user-pass login.txt", created /root/payloads/switch3/login.txt with
 

username
password

updated payload.sh to the newest https://github.com/hak5/packetsquirrel-payloads/blob/master/payloads/library/remote-access/openvpn/payload.sh and made 1 modification:

FOR_CLIENTS=1

so that the PC connects to VPN over the internet. I connect PC to ethernet-in; router to ethernet-out, change payload to 3, unplug+plug USB power; and after a while I see yellow led blinking once which should indicate the connection is established, but in reality I don't have the new IP address when I check what's my IP (I'm connected online though).

Can someone please help me? Many thanks

  • Like 1
Link to comment
Share on other sites

  • 8 months later...
On 11/10/2017 at 3:26 PM, hipapheralkus said:

can I ask where did you have problem which you then solved? I want to connect my PC to VPN using login+password, but something is failing and I don't know what. I've updated Squirrel to 1.1; copied config.ovpn to /root/payloads/switch3/config.ovpn; added "auth-user-pass login.txt", created /root/payloads/switch3/login.txt with
 


username
password

updated payload.sh to the newest https://github.com/hak5/packetsquirrel-payloads/blob/master/payloads/library/remote-access/openvpn/payload.sh and made 1 modification:


FOR_CLIENTS=1

so that the PC connects to VPN over the internet. I connect PC to ethernet-in; router to ethernet-out, change payload to 3, unplug+plug USB power; and after a while I see yellow led blinking once which should indicate the connection is established, but in reality I don't have the new IP address when I check what's my IP (I'm connected online though).

Can someone please help me? Many thanks

Hey man, im having the same problem. Any update if you got it working or not? What VPN were you usuing?

Link to comment
Share on other sites

  • 5 months later...
On 11/13/2017 at 7:10 AM, barry99705 said:

Mine is set so I have access to both networks, so I don't get a new ip address, but your login.txt file is right.

Can you explain this more? Mine appears to be working like this as well but I was expecting an IP. What is happening, what are options, and how do I manually implement other options. If you can tell I need more education in an area regarding this, do you have a good resource you recommends?

Link to comment
Share on other sites

  • 2 months later...

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...