apfelcast

PiVPN

Dec 6th, 2019
6,232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #### Install PiVPN Raspberry Pi ####
  2.  
  3. ## change PW ##
  4. passwd
  5.  
  6. ## enable static ip ##
  7. sudo nano /etc/dhcpcd.conf
  8.  
  9. interface eth0
  10. static ip_address=192.168.0.4/24
  11. static routers=192.168.0.1
  12. static domain_name_servers=192.168.0.1
  13.  
  14. sudo reboot
  15.  
  16. ## install PiVPN ##
  17. curl -L https://install.pivpn.io | bash
  18.  
  19. ## add VPN client ##
  20. pivpn add
Add Comment
Please, Sign In to add comment