Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
SoftEther VPN install script for Raspberry Pi
I've been asked by people online and offline for help with setting up a VPN using Raspberry Pi. Some have asked for an image. While I'm happy to help, I ended up making a script to automate the install. All it does is download, compile install and configure SoftEther for L2TP use. It also provides instructions for setting up routers and clients.
You should install the updates for your pi in addition to this when you first set it up.
For now it is a basic, no-frills shell script. I'll add stuff later on, such as generating a profile for easy config of your iPhone/iPad.
If you want it, drop me a line. My email is good in QRZ.
You should install the updates for your pi in addition to this when you first set it up.
For now it is a basic, no-frills shell script. I'll add stuff later on, such as generating a profile for easy config of your iPhone/iPad.
If you want it, drop me a line. My email is good in QRZ.
4
Comments
-
Ria, could you please send me your scripts and instructions please?
My direct email is <bret(dot)wx7y(at)gmail(dot)com>
thank you VERY much for your time!
Bret
WX7Y
0 -
Check your email. I really need a place to host this too, probably will work better than me emailing it0
-
Instead of emailing me (I've been getting a lot of requests for this), download from here.
https://drive.google.com/file/d/0B0HrAJwAk8BjUU5icnlIS1hxbzg/view?usp=sharing
Post your feedback in this thread so I can improve it.
Right now it is really designed for fresh installs of Raspbian.
Just upload it to your Pi and execute "n2rj_vpnsetup.sh" at a shell prompt. It's self extracting, downloads the latest version of softether and does the config.5 -
Will this work on a older version of the PI....Model B?
Ria, TU for your work on the script and sharing it.0 -
Works on everything that runs Linux.
And you're welcome.0 -
Softether is really a great application suite, there are a number of vpn solutions but this one is really well thought out, cross platform and works well. Definitely a good solution to counter the abrupt removal of PPTP from iOS forcing a switch to L2TP as the next simplest solution for your iOS and windows device. Using the right tools once can take a softether bridge enabled Pi on the road with a Maestro and connect to your flex environment from anywhere.0
-
Thanks Ria,
SoftEther L2TP is working fine for me on my Raspberry PI now, excellent job.1 -
I'm going to write another script to setup a bridge (site to site VPN), automagically. Need to setup two pis to test it on.0
-
Glad I was able to help!0
-
this one may be a bit tough to script b/c you will need to pass some arguments that could vary. a second USB Ethernet adapter is needed in this scenario. Sounds like your up to the challenge though! ;-).
0 -
Incidentally.. if the whole linux thing is intimidating to you and you just don't want to go there, you can install SoftEther server on a windows device in your environment as well. Its more expensive but if you have a separate box doing other duties it is available and well documented on the softether site. Part of the attraction of softether is their comprehensive documentation, extremely well done.
0 -
Not difficult, I've been at this a while, since high school...
The pi 3 has wifi and ethernet. I don't think you'd need another ethernet adapter unless you're connecting to a wired network.0 -
This was the idea of the script, to make it easy for people so they can use a cheap, low power consumption Raspberry pi box instead of a power hungry PC which is overkill for this application. Seems to work out quite well.0
-
Use Linux every day, always good to have a script that works and thanks Ria.
1 -
I had to use an external wifi bridge in one application b/c I was having trouble getting the internal wifi adapter to work with S/E. It may have been a bug in an earlier release. K6OZY and a number of use started experimenting with this withing days of the release of LAN remote functionality. having both options is good too. Happy to see you doing this though for sure and look forward to seeing it contributed to the community. Much appreciated.
0 -
yep.. absolutely. Some folks may have an extra windows box out there just letting them know the options. I personally prefer the RasPi option but have installed both successfully.
0 -
Yes totally agree, I have it on W7 & W10 boxes however I prefer run it on the Pi.
Windows boxes are power hungry devices and with all the updates who knows when they will break yet again, I just find Linux a much more stable platform to leave running in the background.
Isn't It great we have all these different ways to us the Flex ecosystem.
1 -
Hi Ria, It's working perfectly here, I'm using the 6500 remotely, no issues at all, thank you a lot for making the script available.1
-
You're welcome.0
-
It would be so nice if the Flex devs could just change the software wo allow manual IP configuration instead of the AutoDiscover that the clients do. And then just publish the ports in use.
1 -
Hi Ria!
Good morning!
Have installed your script in a PI3B with sucess.
Thank you so much! I am having a lot of fun using my VPN remote acess.
Just for your records, I had to re-run your script after a cold reboot of raspbian , to get the configuration questions.
Best 73
PY2GN William Schauff
1 -
Hi William. Glad it worked out for you.0
-
Ria,
I have used your script to build a VPN for my home station and a friend's as well.. works(ed) great for 3 months. Not sure if Jessie updates caused problems or Windows 10 Creator update did. Nothing else has changed but I get intermittent connections. Most of the time it times out with the Windows VPN complaining:
Can't connect to VPN
The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.
I have rebuilt the card 2 times and get the same errors... once in a long while it will connect. I am lost... can you shed some light on the problem?
73
Jon
K1IMD
0 -
This is usually a generic error that indicates negotiation failed for some reason.
Make sure the time on the pi is correct (pi should automatically sync via ntp since it has no rtc). Make sure time is correct on the Windows machine. Use Meinberg to get it synchronized.
I'm going to update the script to use the latest version of softether as there has been some updates.
Ria0 -
Latest version here:
https://drive.google.com/open?id=0B0HrAJwAk8BjdG8zOEJ4TG5jYjA
Only thing that has changed is it uses the latest version of softether, which is from November 27, 2016.
Ria0 -
Good Afternoon Ria,
Everything on my LAN is "sync'd" via NTP using the same NTP server hosted on my IRLP node which gets time from an Internet time source (ntp.org). The time is very very close. The remote PC's tested are also getting time from the Internet. All devices have time that is very close to one another... how close does the time need to be?
I will look at the Meinberg app to synchronize the windows computer.
FWIW, the VPN would not connect on my cellphone (iPhone) either which should have accurate time from the cellular carrier (AT&T).
The SoftEther manager connects without difficulty... thought it might have been some weird Windows firewall problem but I disabled the firewall which made no difference.
I will run the updated script... do I assume I must start from scratch? ie. I can't run the script on a system that has SoftEther already installed. I assume that the update will likely not solve my problem.
I do have a copy of the original image that worked FB for 3 months before these problems occurred.
I will let you know how it turns out. Looks like no smoking gun...
73
Jon
K1IMD
0 -
Hi Ria, I wanted to try your script but the google site seems to have some trash at the end of the script and it comes across corrupt.
Would you be willing to email me a zipped copy? ws7m@arrl.net works. Thanks0 -
Hi Mark,
That's a feature, not a bug. It's a self extracting script with multiple files. The "trash" at the end is a tar archive. Download as-is and scp to the pi to use it.
Ria
1 -
Yeah I've seen those before but this one is not working for some reason.
In the past when I've done these kinds of things I zip or tar them as for some reason my download is losing line feeds and things are looking really strange.
When I run it I get things like "fi not found line 39" etc.
anyway I think I have the server installed now I just have to get it to give me an IP I can work with... sigh...0 -
I'll check again. I did the packaging on my Mac and not on a pi but it should work, as I did that last time.0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 536 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 250 SmartSDR for iOS
- 231 SmartSDR CAT
- 172 DAX
- 353 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 32 FLEX-8000 Signature Series
- 851 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 799 Genius Products
- 417 Power Genius XL Amplifier
- 279 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 632 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 873 Third-Party Software