Skip to content

Instantly share code, notes, and snippets.

@devvspaces
Created September 11, 2022 12:51
Show Gist options
  • Save devvspaces/ac07be41fa6bf563c5c3d60677c9fc2d to your computer and use it in GitHub Desktop.
Save devvspaces/ac07be41fa6bf563c5c3d60677c9fc2d to your computer and use it in GitHub Desktop.
Creating and Using a VPN Server

Used Digital Ocean and Linode

  • Linode Server was used as the host
  • Linode Server also used as the client

Reading DigitalOcean Reading Linode

Encountered a problem with Dns Resolution Used this to resolve it Article

Steps:

  • To get apparmor messages and read ipsec
dmesg -T
sudo nano /etc/apparmor.d/usr.lib.ipsec.charon
  • Find line with /var/lib/strongswan/* r,
  • Add this /etc/resolv.conf rw, below it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment