wiki-js/sysadmin/Linux/VPN/vpn-server-ipsec.md

24 lines
578 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: VPN сервер ipsec
description:
published: true
date: 2024-04-24T09:55:23.699Z
tags:
editor: markdown
dateCreated: 2023-11-15T17:55:15.923Z
---
Самый простой способ с генерацией логопаса и ipsec secret
`wget https://get.vpnsetup.net -O vpn.sh && sudo sh vpn.sh`
Можно скачать скрипт и переделать под себя
`wget https://get.vpnsetup.net -O vpn.sh`
Редактируем поля
```
YOUR_IPSEC_PSK=''
YOUR_USERNAME=''
YOUR_PASSWORD=''
```
И потом запускаем
`sh vpn.sh`