barry99705 Posted November 2, 2017 Share Posted November 2, 2017 Any idea how I'd go about setting up the payload to work with a user/pass with openvpn? My pfsense firewall already has it set up that way. Link to comment Share on other sites More sharing options...
optybg Posted November 2, 2017 Share Posted November 2, 2017 Usually you can add to you .ovpn config file auth-user-pass login.txt login.txt contains your credentials: username password I can not test this because my PC is still traveling to me... I CANT WAIT :D Link to comment Share on other sites More sharing options...
barry99705 Posted November 2, 2017 Author Share Posted November 2, 2017 Cool. I'll give that a shot later today. Hanging a couple TVs at a client site, I can borrow their network for testing. Link to comment Share on other sites More sharing options...
b0N3z Posted November 2, 2017 Share Posted November 2, 2017 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 More sharing options...
barry99705 Posted November 2, 2017 Author Share Posted November 2, 2017 Didn't work. I'll have to figure a way to test it from home so I can watch the logs on the firewall. Link to comment Share on other sites More sharing options...
barry99705 Posted November 3, 2017 Author Share Posted November 3, 2017 My bad, it does work. Getting 6mbps down and 8mbps up with the squirrel. 19mbps up and down directly connected. Link to comment Share on other sites More sharing options...
hipapheralkus Posted November 10, 2017 Share Posted November 10, 2017 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 More sharing options...
barry99705 Posted November 13, 2017 Author Share Posted November 13, 2017 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. Link to comment Share on other sites More sharing options...
kpeezy Posted July 30, 2018 Share Posted July 30, 2018 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 More sharing options...
kcs Posted January 6, 2019 Share Posted January 6, 2019 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 More sharing options...
daemonik Posted March 21, 2019 Share Posted March 21, 2019 When you SSH into your PS, run openvpn 'config.ovpn' in your payload directory. The output should help you diagnose any issues. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.