-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builds for other targets #3
Comments
I might have a look at getting it running on OS X, another one to add would be freebsd (pfSense package too). |
That would be great. I also added FreeBSD. |
May be worth looking at OpenVPN's implementation for OS X and FreeBSD. |
I added some more documentation and changed the polling mechanism to be more flexible (could now implement kqueue) to make porting easier for you. |
I've started working on kqueue (bsd/osx) support, just waiting on nix-rust/nix#396 at the moment. |
Signal also seems to only be supported on linux so will have to sort that out. |
I adore this software. I'm a complete noob. I really want to run it on my RPi and my phone. I've been unable to cross-compile it (and I even tried compiling on the RPi). Here is a sample output:
Can anyone point me in the right direction? |
@fourbytes |
on mac: Caused by: --- stderr error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "src" "-Wall" "-Wextra" "-o" "/Users/brite/vpncloud-by-dswd/target/release/build/vpncloud-5215daba07884332/out/src/c/tuntap.o" "-c" "src/c/tuntap.c" with args "cc" did not execute successfully (status code exit code: 1). warning: build failed, waiting for other jobs to finish... i saw: "fatal error: 'linux/if_tun.h' file not found",how to fix this issue? |
I am sorry, but it won't just compile like that. OS X has a different way of using virtual network devices to Linux, so it will need some code changes. |
On windows wintun can be used. |
Just to update wintun 0.9 has been released and should be much nicer to work with. |
@ofer-dev does wintun also support tap devices? Vpncloud supports tun and tap and I would like to have one lib for windows if possible. |
Wintun only support tun devices. However, it is faster and smaller than tap-windows6, so less room for bugs. But if tap devices are necessary to the best of my knowledge tap-windows6 is the only option. references: p.s. |
Any thought to packaging VPNCloud as a SNAP? Quite a number of Linux distributions support Snap out of the box such as Ubuntu (and e.g. Kubuntu), Manjaro, Zorin OS, KDE Neon, Solus and Li-f-e. Snap is also available for many other distributions such as CentOS, Debian, Elementary OS, Fedora, GalliumOS, Kali Linux, Linux Mint, OpenEmbedded, Parrot Security OS, Pop! OS, Raspbian, Red Hat Enterprise Linux and openSUSE. Snap also supports upgrade/rollbacks etc.. Snap's goal was to ease the load on developers and also "containerize" the applications installed instead of speading config files etc all over a disk. https://snapcraft.io/docs/creating-a-snap Just an idea. |
Hi Brian. I thought about that but haven't followed that up since I have no experience in writing snaps. So if you want to help, you can create a snap and I will add it to the build process and maintain it as good as I can. |
It's been |
Hi, thanks a lot for the kind words.
Right now the snap just provides the binary. Any help would be appreciated. I just thought about something else. Since VpnCloud really just comes as a binary with 3 support files (manpage, system service, example config), maybe I can provide a standalone executable which has |
I don't know if this helps but here is the OpenVPN SNAP:
|
First, I want to introduce myself to you. Hi there! My name is h0p3. It's an honor and a pleasure to meet you. I've been an admirer from afar. Maybe that will change; I don't know. If you ever need a friend, a madman, or a retard in your life, HMU: https://philosopher.life/ (feel free to ignore my public self-modeling; it's currently being quietly written [can check the diffs]). I record my conversations (including this one, and I'm happy to think about that with you, if you want), and if you prefer an alias, let me know (you've already earned one with me). I've been thinking about your words. I like many of the changes you've made to this software over the years (to my poor understanding, of course). I'm sure I sound like an entitled user, and I apologize. I am grateful for this gift. Perhaps all I can offer in return at the moment is my paranoid, ignorant opinion here (might not be worth much, sorry). I think you have a tool that competes with Zerotier (this is the tit I'm trying to get off) and perhaps even /~https://github.com/yggdrasil-network/yggdrasil-go. Having something that "just werx" on any Linux machine is quite an accomplishment, especially if there is a simple installation (if you had more people helping you, it seems like it could be used on most unlocked platforms [perhaps even inside the browser via WASM one day]). I like to think that this tool could be the basis of the decentralization that so many applications are really seeking in the end. Here's some dumb questions and uses I have in mind:
You need a dozen people to solve these problems maybe. Please ignore my questions (they are insane, I know). You have already given more than you have to. I don't know what fitting assumptions you ought to make here. I'm not a dev; I'm just a skiddie who uses his computer to get shit done. If you can avoid package managers, then why not avoid them? I like the last binary option you mentioned the most. |
Debian packages for armel (eg. raspberry pi zero and older raspberry pi) would be much appreciated |
Created a pull request for armel #274 |
With armel build target support merged (#274) and version 2.3.0 released, a deployment of the latest debs to https://repo.ddswd.de/deb would be much appreciated. |
A new crate may be of help, particularly for running as a Windows service: /~https://github.com/chipsenkbeil/service-manager-rs |
Any chance to have this packaged for OpenWRT with LUCI support? |
Very much looking forward to vpncloud supporting windows platform |
This is a tracking issue on building VpnCloud for other operating systems and other architectures.
Implementation hints:
The text was updated successfully, but these errors were encountered: