Note: This Tutorial is for free , you may repost this tutorial but give credits to "EtechDev"
STAGE 1
Things Needed:
1, "Modem" with Globe/Tm Lte sim Loaded with atleast 6 pesos registered to "surfalert" on to 8080
2, "Raspberry pi" for this tutorial i will use my "Raspberry pi 3 b plus" binili ko po sa lazada, older version will be just fine basta meron "wifi and lan
3, "Router" Any kind of router will be just fine
4, "Softether server access" ready for "surfalert trick" Meaning dati na po kayong may idea sa softether vpn , accounts are everywhere marami pong free dyan you can even create your own via "VPS" or i might share some accounts from my own server
5, "SoftEther Server Manager" Download link Here or find your own
Putty:
64bit == https://dz4up.com/d7Ye
32bit == https://dz4up.com/8VPb
SoftEther manager
6, "Putty 32bit version" for 32 bit computer or "Putty 64bit version" for 64 bit computer ... Download link Here or find your own
STAGE 2
Raspberry Pi OS setup:
We need an OS to run our raspberry pi.... Alam ko nagawa nyu na yan but still i will iclude a short idea how to do that.. Why Short because it is all over the internet how to fire up your raspberry pi and our main focus here is to run softether on it and share via router to have a free home internet source:
1. For this tutorial i want you to use Raspbian OS the official operating system ,for you to explore more project in the future using your raspberry pi kit. Download link here you can use RASPBIAN STRETCH LITE but mine was RASPBIAN STRETCH WITH DESKTOP for the reason that i can connect my hdmi capable monitor and apply other raspberry pi future purposes.
Note: other os like noobs will be just fine.. what i want here is that you can access your rasperry pi via SSH, take note of that we need to access SSH, but for me Using raspbian with desktop image will allow you to view via a hdmi connected monitor and from there you can use terminal app inside to run shh command.
2. Use your computer to write downloaded raspbian image into your raspbian SD card inserted on a card reader by using software "Etcher" a graphical sd card writing tool. Download this tool here
3. After writing image to sd card.. insert it to your raspberry pi and were good to go.. Fire up your lovely raspberry pi....
Take note: as what i mentioned in this tutorial i will be using RASPBIAN WITH DESKTOP IMAGE.. i want you to know that in this image ssh access remotely is
disabled by default , but if you are a advanced user already and managed to get access your pi via ssh remotely bypass this step and proceesd to next stage.
We need to open built in terminal to enable ssh feature
Inside the terminal app run this command
sudo raspi-config
Once you hit enter this screen should appear
Navigate to item 8 Advanced Control and hit enter
Navigate to ssh and enable this feature
After enabling ssh reboot your raspberry pi by typing the command
sudo reboot
STAGE 3
Identifying raspberry pi internal ip:
After enabling ssh feature. We need to know the IP address of our cool raspberry pi, for us to be able too ssh on to it and also for advance user to be able to use VNC adn etc....... In this tutorial i am using Huawei B593-s22 with a 192.168.254.1 gateway ip address and ofcourse all client connected to it will have
an ip ranging from 192.168.254.100 to 192.168.254.255
1. At first we need to Connect our raspberry pi , via Raspberry Pi lan to modem lan. Allow our modem to detect your PI and let it assigned IP address on to it..
of course we need to power your PI and Modem....
2. Login to your modem device website address : mine was 192.168.254.1 and click on Product Information
STAGE 4
1. Open your Putty software
Fill in the following
HostName : 192.168.254.102 (this field may be different according to what ip you have on stage 3)
Saved session fields : pi (you can use other profile name but it is better to use pi for this TUT)
Click save and open
2. Now it should appear like this. Now we can Login
login as : pi
password : raspberry ( take note that while typing on password field you cant see anything just head on typing password and enter)
login as : pi
password : raspberry ( take note that while typing on password field you cant see anything just head on typing password and enter)
3. Now we can start deploying our softether on raspberry pi..
Take Note: That in this stage 4 , we need an active internet on our modem you can use promo supersurf50 to be able to access internet cause we will install softEther via online
after login this screen should appear, we can now start coding
Take Note: That in this stage 4 , we need an active internet on our modem you can use promo supersurf50 to be able to access internet cause we will install softEther via online
after login this screen should appear, we can now start coding
4. update = key in the command and hit enter
sudo apt-get update
5. upgrade = key in the command and hit enter, when Y/N is being asked hit enter again
sudo apt-get upgrade
6. Set root access password = key in the command and hit enter, and key your desired password for root, mine was 12345678
sudo passwd root 12345678
7. access root = key in the command and hit enter, and key in the password being asked enter again
su root
9. go to root folder = key in the command and hit enter,
cd /
10. Download softether = key in the command and hit enter, (Take note just copy the command and right click on ssh terminal to paste)
(Note : remove the space between http and ://www )
wget http ://www.softether-download.com/files/softether/v4.27-9668-beta-2018.05.29-tree/Linux/SoftEther_VPN_Server/32bit_-_ARM_EABI/softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-arm_eabi-32bit.tar.gz
11. Install Softether = key in the command and hit enter,
tar zxvf softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-arm_eabi-32bit.tar.gz
12. Go to server foldercd vpnserver
13. Run this command , follow on screen processmake
14. run this command
cd ..
15. move the foldermv vpnserver /usr/local
16. open the foldercd /usr/local/vpnserver/
17. run this commandchmod 600 *
18. run this commandchmod 700 vpnserver
19. run this commandchmod 700 vpncmd
20. edit the filenano /etc/init.d/vpnserver
21. paste this script.. (Take note copy the whole script and right click to paste), ctrl + o to save , hit enter, then ctrl + x to exit
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
22. make directory if not yet available and just proceed when error is noted
mkdir /var/lock/subsys
23. run this command
chmod 755 /etc/init.d/vpnserver && /etc/init.d/vpnserver start
24. update defaults
update-rc.d vpnserver defaults
25. open folder
cd /usr/local/vpnserver
26. Run softther
./vpncmd
sudo apt-get update
5. upgrade = key in the command and hit enter, when Y/N is being asked hit enter again
sudo apt-get upgrade
6. Set root access password = key in the command and hit enter, and key your desired password for root, mine was 12345678
sudo passwd root 12345678
7. access root = key in the command and hit enter, and key in the password being asked enter again
su root
9. go to root folder = key in the command and hit enter,
cd /
10. Download softether = key in the command and hit enter, (Take note just copy the command and right click on ssh terminal to paste)
(Note : remove the space between http and ://www )
wget http ://www.softether-download.com/files/softether/v4.27-9668-beta-2018.05.29-tree/Linux/SoftEther_VPN_Server/32bit_-_ARM_EABI/softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-arm_eabi-32bit.tar.gz
11. Install Softether = key in the command and hit enter,
tar zxvf softether-vpnserver-v4.27-9668-beta-2018.05.29-linux-arm_eabi-32bit.tar.gz
12. Go to server foldercd vpnserver
13. Run this command , follow on screen processmake
14. run this command
cd ..
15. move the foldermv vpnserver /usr/local
16. open the foldercd /usr/local/vpnserver/
17. run this commandchmod 600 *
18. run this commandchmod 700 vpnserver
19. run this commandchmod 700 vpncmd
20. edit the filenano /etc/init.d/vpnserver
21. paste this script.. (Take note copy the whole script and right click to paste), ctrl + o to save , hit enter, then ctrl + x to exit
#!/bin/sh
# chkconfig: 2345 99 01
# description: SoftEther VPN Server
DAEMON=/usr/local/vpnserver/vpnserver
LOCK=/var/lock/subsys/vpnserver
test -x $DAEMON || exit 0
case "$1" in
start)
$DAEMON start
touch $LOCK
;;
stop)
$DAEMON stop
rm $LOCK
;;
restart)
$DAEMON stop
sleep 3
$DAEMON start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
22. make directory if not yet available and just proceed when error is noted
mkdir /var/lock/subsys
23. run this command
chmod 755 /etc/init.d/vpnserver && /etc/init.d/vpnserver start
24. update defaults
update-rc.d vpnserver defaults
25. open folder
cd /usr/local/vpnserver
26. Run softther
./vpncmd
27. Checking softther if is successfully moved and install, key in 3 and enter, under vpn tools type the commnand check and hit enter,
it should be a pass result then type exit and enter
it should be a pass result then type exit and enter
Creade to qtmitz and EtechDev
Soure SYMBIANIZE
0 comments Blogger 0 Facebook
Post a Comment