Jump to content

OpenVPN with user/pass?


barry99705

Recommended Posts

this is what I did for managing multiple openvpn setups so I didnt have to go through and set all that in each file.

Link to comment
Share on other sites

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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