SRD

jun

SRD
Apr 19th, 2016
842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. Openconnect v7.06
  2. VPNC 0.5.3
  3. Gentoo
  4.  
  5. I'm trying to setup a VPN which normally requires the following parameters from the juniper network connect v8.1R8:
  6. username
  7. host
  8. userpass
  9. realm (IVE signin realm)
  10. certificate
  11.  
  12. Due to an error I can't fix w/ the NC client, I've installed openconnect to try, but not sure how to get started after creating a tap0 interface.
  13.  
  14. And here is the command line that I've been trying. Although, I'm not sure where to put the credentials above.
  15.  
  16. $ sudo openconnect --script /etc/vpnc/vpnc-script https://vpn.company.com
  17.  
  18. Which results in the following ...
  19. ---
  20. WARNING: Juniper Network Connect support is experimental.
  21. It will probably be superseded by Junos Pulse support.
  22. GET https://vpn.company.com/
  23. Attempting to connect to server xxx.xxx.xxx.xxx:443
  24. SSL negotiation with vpn.company.com
  25. Connected to HTTPS on vpn.company.com
  26. Got HTTP response: HTTP/1.1 302 Found
  27. GET https://vpn.company.com/dana-na/auth/url_2/welcome.cgi
  28. SSL negotiation with vpn.company.com
  29. Connected to HTTPS on vpn.company.com
  30. frmLogin
  31. username:me
  32. password#2:
  33. POST https://vpn.company.com/dana-na/auth/url_2/login.cgi
  34. SSL negotiation with vpn.company.com
  35. Connected to HTTPS on vpn.company.com
  36. Got HTTP response: HTTP/1.1 302 Moved
  37. GET https://vpn.company.com/dana-na/auth/url_2/welcome.cgi?p=failed
  38. SSL negotiation with vpn.company.com
  39. Connected to HTTPS on vpn.company.com
  40. frmLogin
  41. username:
  42. ---
  43. From username to username, each time I enter, it just loops asking for username and password again.
  44.  
  45.  
  46. Thoughts?
Advertisement
Add Comment
Please, Sign In to add comment