Skip to content

In this repo, the steps of setting up vpn (Ethernet protocol over HTTPS) are taught step by step:

License

Notifications You must be signed in to change notification settings

Moein-bsd/How-config-softether-vpn--for-bypassing-sanction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

How-config-softether-vpn--for-bypassing-sanction

In this repo, the steps of setting up Softether vpn (Ethernet protocol over HTTPS) are taught step by step:

Softethervpn stack.jpg

1.Run the following commands with your closed eyes :

apt-get update
apt-get upgrade -y
apt-get -y install build-essential wget make curl gcc  wget zlib1g-dev tzdata git libreadline-dev libncurses-dev libssl-dev

2.Go to the this link and find Download link last version SoftEther_VPN_Server and download it OR Go to this link To see all directory:

(for example SoftEther_VPN_Server for linux Intel CPU )

wget "https://www.softether-download.com/files/softether/v4.42-9798-rtm-2023.06.30-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.42-9798-rtm-2023.06.30-linux-x64-64bit.tar.gz"

3.then:

ls
tar  xzf “downloaded file name”
cd vpnserver
make
cd ..
mv vpnserver /usr/local
cd /usr/local/vpnserver/
chmod 600 *
chmod 700 vpnserver vpncmd
./vpnserver start
./vpncmd

###### In vpn server config
#1 for first question enter: 1
#2 for virtual hub question: just Push Enter Key3 then for command : "server :":
ServerPasswordSet
(Enter complex password)
then press ctrl+c to exit vpn config

4.copy and paste below config carefully:

sudo cat >> /lib/systemd/system/vpnserver.service << EOF
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=
ExecStart=/usr/local/vpnserver/vpnserver start
ExecStop=/usr/local/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
EOF

5.Setup Routing Config :

echo net.ipv4.ip_forward = 1 | ${SUDO} tee -a /etc/sysctl.conf

6.Starting Service And Setup Firewall Access list :

systemctl enable vpnserver
systemctl start vpnserver
systemctl status vpnserver

ufw allow 443
ufw allow 500,4500/udp
ufw allow 1701
ufw allow 1194
ufw allow 5555

Important

Make sure the vpnserver service is started.

7.Go to the this link and find Download link last version SoftEther VPN Server Manager for Windows and download and Install it.

8.Create New Connection String:

setting Name : <Your favorite Name>,
Host Name : <Your Server IP Address>,
Password : <Your password what you Entered for ServerPasswordSet setting ----> Look at Step3> 

9.See Help Photo in this link

10.Download Application for Android From Here

11.Download Client Application From Here Choose SoftEther VPN Client And Your platform ( Windows,Linux,Mac).

About

In this repo, the steps of setting up vpn (Ethernet protocol over HTTPS) are taught step by step:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published