Advertisement
plirof2

vpn info notes

Apr 26th, 2023
1,137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. openvpn --config
  2.  
  3.  
  4. https://bobcares.com/blog/install-openvpn-client-debian/
  5. https://www.slickvpn.com/introducing-slickvpn-core/  WORKS
  6. https://www.slickvpn.com/locations/  PROBLEM
  7.  
  8.  
  9.  
  10. /etc/openvpn/update-resolv-conf
  11.  
  12. #openvpn --config gw1.ams4.slickvpn.com.ovpn;
  13.  
  14.  
  15.  
  16. service openvpn restart
  17.  
  18.  
  19. ---------
  20. Open your client.ovpn file in a text editor:
  21.  
  22. nano client.ovpn
  23. At the very bottom simply add these lines:
  24.  
  25. script-security 2
  26. up /etc/openvpn/update-resolv-conf
  27. down /etc/openvpn/update-resolv-conf
  28. The first line enables the use of external scripts to handle the DNS implementation tasks. The up and down lines are there to implement DNS servers pushed by the VPN server when the connection goes up, and afterwards to undo it, when the connection goes down.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement