Find Jobs
Hire Freelancers

steps by command for how to configure ubuntu strongswan for vpn

$10-60 USD

Завершено
Опублікований almost 6 years ago

$10-60 USD

Оплачується при отриманні
I want guid to configure strongswan vpn server on ubuntu cloud server and prepare it for client using ikev2 by certificate for ios or mac osx to cconect. note: I need just the steps, I found many online steps but not work sampel of my request which is nit working for me After strongSwan is installed, generate self-signed server keys (using either the openssl or ipsec command). Then you may need to copy the keys to the corresponding directory and edit the /etc/[login to view URL] files to make your server available for the client to connect to it. After the server is configured correctly, you need to configure your client to connect to it. You can choose either Windows, MacOS, iOS or Android as the client machine. You do not need to try all of them. You only need to use one of them to connect to the server. The following are some hints on how to configure your server and use Android to connect to it. All client machines such as Windows, MacOS, iOS, and Android have been tested. Thus there should be no technical issues. 1. The /etc/[login to view URL] file: [root@etpgl7e etc]# more [login to view URL] config setup uniqueids=no conn %default reauth=no ikelifetime=2h keylife=2h rekeymargin=10m keyingtries=1 keyexchange=ikev2 dpdaction=restart dpddelay=15s dpdtimeout=5s conn android left=%any leftsubnet=[login to view URL] leftcert=[login to view URL] leftauth=pubkey right=%any rightauth=pubkey rightsourceip=[login to view URL] eap_identity=%any auto=add dpdaction=restart dpddelay=15s dpdtimeout=5s 2. Secret file: [root@etpgl7e etc]# more [login to view URL] # /etc/[login to view URL] - strongSwan IPsec secrets file : ECDSA [login to view URL] 3. Generate the self-signed CA keys: openssl req -x509 -days 1460 -newkey rsa:1024 - keyout [login to view URL] -out [login to view URL] 4. Copy [login to view URL] to /etc/ipsec.d/cacerts/[login to view URL] and keep private key secure. 5. Generate a private key for strongswan server: openssl genrsa -des3 -out [login to view URL] 1024 6. Generate a private key for Android phone (remote client): openssl genrsa -des3 -out [login to view URL] 1024 7. To generate certificates, first copy the default openssl configuration file at /usr/lib/ssl/[login to view URL] [login to view URL] to the home directory and modify the related paths there. Then create a file “[login to view URL]” and a file “serial” with empty content and run ‘touch [login to view URL]| echo 01> serial’. This step is only necessary for the first time to create a certificate. 8. Create a certificate request file: openssl req -new -key [login to view URL] -out [login to view URL] 9. Run: openssl ca -config [login to view URL] -days 1001 -out [login to view URL] -infiles [login to view URL] 10. Convert/package the pem version to p12 version: openssl pkcs12 -export -out [login to view URL] -in [login to view URL] -certfile [login to view URL] -inkey [login to view URL] 11. Copy [login to view URL] to the Android phone and it should now connect to the strongSwan server.
ID проекту: 17425549

Про проект

4 пропозицій(-ї)
Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
Connect two servers with site-to-site IPSec VPN Relevant Skills and Experience Linux, IPSec, Networking Proposed Milestones $111 USD - Complete s2s VPN Additional Services Offered $40 USD - Review Linux box access and firewall rules.
$111 USD за 1 день
5,0 (8 відгуки(-ів))
3,9
3,9

Про клієнта

Прапор QATAR
Doha, Qatar
5,0
15
Спосіб оплати верифіковано
На сайті з лип. 6, 2012

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.