How to setup Strongswan on Cento 7 & Ubuntu 20.X

Hello,

are you looking to install your own VPN server on Centos 7 OR Ubuntu ?

here is our easy to use VPN script ready to install on your VPS/SERVER.

After you done you can install our APP for IOS from APPLE APP store or Strongswan APP from GOOGLE Play

IOS users
https://apps.apple.com/gb/app/brooog-vpn/id1542583818

Android users
https://play.google.com/store/apps/details?id=org.strongswan.android&hl=en&gl=US

 

Lets start setting up the server 1st.

login as ROOT in to your server

after you login as root copy below code and run it in your server.

Centos 7 USERS

yum -y install wget; cd /root/; wget ni.0a0.in/vpn/ce/strongswan.sh; sh /root/strongswan.sh

Ubuntu 20.X USERS

apt-get -y install wget; cd /root/; wget ni.0a0.in/vpn/ub/strongswan.sh; sh /root/strongswan.sh

Follow on screen inestructions.

once is down you are ready to use your VPN server with one of the app's above.

Server & client certificates are already setup on the server download the client certificate from

CENTOS 7 USERS

/etc/strongswan/ipsec.d/

UBUNTU 20.X USERS

/etc/ipsec.d/

 

Adding new Certificates & users use the following scripts

CENTOS 7 USERS

cd /etc/strongswan/ipsec.d/

# Adding new Server Certificate

sh server_key.sh servername

# Adding new Client Certificate

sh client_key.sh user_name Email

# revoke certificate

sh revoke.sh user_name

# add new username and password

sh /root/vpn_user.sh

UBUNTU 20.X USERS

/etc/ipsec.d/

# Adding new Server Certificate

sh server_key.sh servername

# Adding new Client Certificate

sh client_key.sh user_name Email

# revoke certificate

sh revoke.sh user_name

# add new username and password

sh /root/vpn_user.sh

 

if you face any issue installing your VPN server please check the error log, if you need any help feel free to contact us.

Brooog LTD

Was this answer helpful?

Powered by WHMCompleteSolution