What's new

Tutorial SoftEtherVPN Server Configurations (with Openvpn) Autoscript using Local Bridge via Dnsmasq (DEBIAN9/UBUNTU/FEDORA)

tacome9

Forum Veteran
Joined
Aug 8, 2014
Posts
1,900
Reaction
4,183
Points
826
And i qoute "
reason.PNG
"

Mula ng malaman ko na mas maganda performance ng local bridging sa softether vpnserver, dahil sa unang post ni sir Bon-chan sa kanyang tutorial using isc-dhcp-server, sobra na akong naobsessed na mapagana ng maayos at okay ang lahat ng codesng local bridging sa aking personal server.
Actually mula ng naipost niya ito, kaagad akong nagswitch sa local bridge gamit yung tutorial niya, pero may mga problemang naencounter kaya nagmanual ako install isa isa at inalam kung saan may mali.
Napagana ko naman ngunit ginusto ko na mas mapaayos pa para magawan ng autoscript. Ngunit sadyang mahirap paganahin ang isc-dhcp-server kaya naghanap ako ng ibang pwedeng gamitin at nakarating ako sa blog ni sir Lincoln Lee about local bridge ng softether via dnsmasq, at iyon mas maganda resulta.

Kaya without any further ado, eto na po "SoftetherVPN Server Autoscript using Local Bridge via Dnsmasq, with OpenVPN and Squid Proxy na rin para masaya.

Requirements:
Ubuntu 18/16 server or Debian 9 server
Root access



Commands:
Update VPS and reboot first
Code:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get full-upgrade -y && apt-get --fix-missing install -y && apt-get autoremove -y && reboot

Get file and Install
You do not have permission to view the full content of this post. Log in or register now.
After that, reboot niyo na lang po kung OC kayo tulad sakin. And your server is done.
Note: Dont forget to allow used port on networking firewall of your vps.

Screenshots:
1. Side by side install (Debian 9 and Ubuntu 18)
se1.PNG


2. Fill up necessary details
se2.PNG


3. Ready to go
se3.png


4. Displaying Logs of Important Details
se4.PNG


5. Checking vpnserver and dnsmasq status if properly working
sednsmasqcheck.PNG
sednsmasqcheck.PNG



Additional Info base sa mga nacocomment:
Dahil nakabase sa tutorial ni sir bonchan yung autoscript ko, ganito lang din po yung pagadd ng users saka pagset ng max simultaneous connections.
And I qoute
"
Sixth Step:
+ Creating user for our SoftEtherVPN Server
# Note here we're using our created Virtual Hub to create a user account. Every Hub, different user databases.

# Set nyo po muna ung values sa variables, copy this then edit:
  • Edit this and run for example: VPNUsername='Bon-chan' && VPNPassword='phcorner'
# Then create our user account
  • run: vpncmd localhost /SERVER /ADMINHUB:"$VirtualHubName" /CMD UserCreate $VPNUsername /GROUP:none /REALNAME:none /NOTE:none &> /dev/null && vpncmd localhost /SERVER /ADMINHUB:"$VirtualHubName" /CMD UserPasswordSet $VPNUsername /PASSWORD:"$VPNPassword" &> /dev/null
# And then setting our Max Sessions for user (Multilogin for short), seset po natin dito sa 50000 for publicity use, or kung want nyo po per-user use lang, set nyo lang po sa 1
  • vpncmd localhost /SERVER /ADMINHUB:"$VirtualHubName" /CMD SetMaxSession 50000
"
Change niyo nalang yung VirtualHubName to your designated Virtual Hub. And reenter muna yung server password kapag ka nirun niyo po ito.



Autoscipt is fully tested on AWS VPS ...

Give feedback po kung may error gamiting ibang vps host.

Yan lamang po. Maraming salamat.
This autoscript is inspired by sir Bon-chan and Lincoln Lee.

Good Day !!!

UPDATE!!!
Fedora OS

Get file and Install
You do not have permission to view the full content of this post. Log in or register now.
Note: Do restart dnsmasq service after doing a system reboot.
Code:
systemctl restart dnsmasq
Tested on my AWS and Digital Ocean Server .. Enjoy :giggle:







Feedbacks :)

Nice ma try nga neto sa Azure

Update: Working sa Azure Ubuntu18
feed back : na try ko na sa DO mamaw to lakas ng hatak sa net . thanks sa share mo ate 😁
Sige2 po boss/madam, maraming salamat ulit sa setup mo. Stable sa OL games yung setup mo. Sana mayroon din kayo setup na kagaya nyan sa FedoraOS/CentOS hihihihi
 

Attachments

Last edited:
[XX='PHC King, c: 106449, m: 686787'][/XX] Basta sa ubuntu 18 saka debian 9 po , sure po na working yan :) .. Should work on ubuntu 16 too.
 
Sige2 po boss/madam, maraming salamat ulit sa setup mo. Stable sa OL games yung setup mo. Sana mayroon din kayo setup na kagaya nyan sa FedoraOS/CentOS hihihihi
 
[XX='PHC King, c: 106456, m: 686787'][/XX] Pagka maraming feedback, baka sipagin ulit. Sa inyong mga users lang naman ako kumukuha ng sipag pagdating sa ganito. hehe . Almost isang araw akong gising niyan bago ko nasiguradong gagana ng maayos ang script.
 
Back
Top