- Joined
- May 19, 2018
- Messages
- 11
- Reaction score
- 0
- Points
- 1
apt-get -y install wget curl gcc make wget tzdata git libreadline-dev libncurses-dev libssl-dev zlib1g-dev
apt-get install upstart
apt-get install checkinstall build-essential -y
wget http://www.softether-download.com/f...7-9666-beta-2018.04.21-linux-x64-64bit.tar.gz
tar xvfz softether-vpnserver-v4.27-9666-beta-2018.04.21-linux-x64-64bit.tar.gz
cd
ls -a
cd vpnserver/
ls -a
make
press 1 to all hit enter
cd ..
mv vpnserver/ /usr/local/
cd /usr/local/vpnserver/
chmod 600 * /usr/local/vpnserver
chmod 755 /usr/local/vpnserver/vpncmd
chmod 755 /usr/local/vpnserver/vpnserver
chmod +x vpnserver
chmod +x vpncmd
cd
Code:
nano -w /etc/init.d/vpnserver
paste this code
#!/bin/sh
### BEGIN INIT INFO
# Provides: vpnserver
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable Softether by daemon.
### END INIT INFO
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
TAP_ADDR=192.168.7.1
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
sleep 1
/sbin/ifconfig tap_soft $TAP_ADDR
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
sleep 1
/sbin/ifconfig tap_soft $TAP_ADDR
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
CTRL + X type Y hit ENTER
chmod +x /etc/init.d/vpnserver
nano -w /etc/sysctl.conf
Change
#net.ipv4.ip_forward=1
to
net.ipv4.ip_forward=1
CTRL + X then type Y then hit enter
then paste this command
echo 1 > /proc/sys/net/ipv4/ip_forward
then
sysctl --system
/etc/init.d/vpnserver restart
/etc/init.d/vpnserver start
/usr/local/vpnserver/vpncmd
type "1" and hit Enter three times
ServerPasswordSet
hubdelete DEFAULT
HubCreate VPN
hublist
BridgeCreate /DEVICE:"soft" /TAP:yes Ant
Hub VPN
UserCreate test
UserPasswordSet test
IPsecEnable
Yes
No
Yes
Kanade
Antgsm
ServerCertRegenerate <YOUR SERVER IP or FQDN>
ServerCertGet ~/cert.cer
SstpEnable yes
Hub
VpnOverIcmpDnsEnable /ICMP:yes /DNS:yes RESTART PUTTY
service vpnserver start
then
reboot
then
exit
then
logout putty
then open
««SE VPN BRIDGE FOR PC WINDOWS»»
DIRECT LINK HERE FOR
SE VPN BRIDGE MANAGER FOR PC WINDOWS
http://www.softether-download.com/f...666-beta-2018.04.21-windows-x86_x64-intel.exe
tap ADD NEW CONNECTION
login VPS credentials
enable Nat then boom may server kana (l:0
Kayo nang bahala kung tungkol saan yang code nayan whaha!!! super easy na ng mga codes copy paste nalang ok na (l:0 Need VPS account to tulad ng Digital Ocean sana makatulong tong codes
apt-get install upstart
apt-get install checkinstall build-essential -y
wget http://www.softether-download.com/f...7-9666-beta-2018.04.21-linux-x64-64bit.tar.gz
tar xvfz softether-vpnserver-v4.27-9666-beta-2018.04.21-linux-x64-64bit.tar.gz
cd
ls -a
cd vpnserver/
ls -a
make
press 1 to all hit enter
cd ..
mv vpnserver/ /usr/local/
cd /usr/local/vpnserver/
chmod 600 * /usr/local/vpnserver
chmod 755 /usr/local/vpnserver/vpncmd
chmod 755 /usr/local/vpnserver/vpnserver
chmod +x vpnserver
chmod +x vpncmd
cd
Code:
nano -w /etc/init.d/vpnserver
paste this code
#!/bin/sh
### BEGIN INIT INFO
# Provides: vpnserver
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable Softether by daemon.
### END INIT INFO
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
TAP_ADDR=192.168.7.1
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
sleep 1
/sbin/ifconfig tap_soft $TAP_ADDR
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
sleep 1
/sbin/ifconfig tap_soft $TAP_ADDR
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
CTRL + X type Y hit ENTER
chmod +x /etc/init.d/vpnserver
nano -w /etc/sysctl.conf
Change
#net.ipv4.ip_forward=1
to
net.ipv4.ip_forward=1
CTRL + X then type Y then hit enter
then paste this command
echo 1 > /proc/sys/net/ipv4/ip_forward
then
sysctl --system
/etc/init.d/vpnserver restart
/etc/init.d/vpnserver start
/usr/local/vpnserver/vpncmd
type "1" and hit Enter three times
ServerPasswordSet
hubdelete DEFAULT
HubCreate VPN
hublist
BridgeCreate /DEVICE:"soft" /TAP:yes Ant
Hub VPN
UserCreate test
UserPasswordSet test
IPsecEnable
Yes
No
Yes
Kanade
Antgsm
ServerCertRegenerate <YOUR SERVER IP or FQDN>
ServerCertGet ~/cert.cer
SstpEnable yes
Hub
VpnOverIcmpDnsEnable /ICMP:yes /DNS:yes RESTART PUTTY
service vpnserver start
then
reboot
then
exit
then
logout putty
then open
««SE VPN BRIDGE FOR PC WINDOWS»»
DIRECT LINK HERE FOR
SE VPN BRIDGE MANAGER FOR PC WINDOWS
http://www.softether-download.com/f...666-beta-2018.04.21-windows-x86_x64-intel.exe
tap ADD NEW CONNECTION
login VPS credentials
enable Nat then boom may server kana (l:0
Kayo nang bahala kung tungkol saan yang code nayan whaha!!! super easy na ng mga codes copy paste nalang ok na (l:0 Need VPS account to tulad ng Digital Ocean sana makatulong tong codes
