Advertisements

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

Advertisements

And i qoute ” 

Advertisements
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

Code:

wget -O /root/tacome9SE_Beta "https://www.dropbox.com/s/fncncb5lznmcyzm/tacome9SE_Beta?dl=0" && chmod +x tacome9SE_Beta && ./tacome9SE_Beta

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

Advertisements
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:

Advertisements
  • 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

Code:

wget -O /root/tacome9SE_Fedora "https://www.dropbox.com/s/fs9d46hkv3c0lvq/tacome9SE_Fedora?dl=0" && chmod +x tacome9SE_Fedora && ./tacome9SE_Fedora

Note: Do restart dnsmasq service after doing a system reboot.

Code:

systemctl restart dnsmasq

Tested on my AWS and Digital Ocean Server .. Enjoy 

Advertisements

384 thoughts on “SoftEtherVPN Server Configurations (with Openvpn) Autoscript using Local Bridge via Dnsmasq (DEBIAN9/UBUNTU/FEDORA)

  1. After checking out a few of the blog posts on your site, I
    truly appreciate your technique of writing a blog.

    I added it to my bookmark webpage list and will be checking
    back in the near future. Take a look at my web site as well and let me know what you think.

  2. hey there and thank you for your information I’ve definitely picked up anything new from right here. I did however expertise a few technical issues using this web site, since I experienced to reload the site many times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will very frequently affect your placement in google and can damage your high quality score if advertising and marketing with Adwords. Anyway I’m adding this RSS to my e-mail and can look out for a lot more of your respective interesting content. Make sure you update this again soon.

  3. Excellent website you have here but I was wanting to know if you knew of any community forums that cover the same topics talked about in this article? I’d really love to be a part of online community where I can get responses from other knowledgeable individuals that share the same interest. If you have any recommendations, please let me know. Many thanks!

  4. It is perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I want to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I wish to read more things about it!

  5. Hi, I do believe this is an excellent web site. I stumbledupon it 😉 I will return once again since I bookmarked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

  6. I simply could not leave your web site prior to suggesting that I really enjoyed the standard information a person supply on your visitors? Is going to be back incessantly in order to check up on new posts

  7. It’s a shame you don’t have a donate button! I’d most certainly donate to this superb blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to brand new updates and will talk about this blog with my Facebook group. Chat soon!

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements