Skip to content

opengnb: version 1.6.4 is ported to openwrt#28956

Open
charleschan2006-alias wants to merge 4 commits intoopenwrt:masterfrom
charleschan2006-alias:master
Open

opengnb: version 1.6.4 is ported to openwrt#28956
charleschan2006-alias wants to merge 4 commits intoopenwrt:masterfrom
charleschan2006-alias:master

Conversation

@charleschan2006-alias
Copy link
Copy Markdown

@charleschan2006-alias charleschan2006-alias commented Mar 22, 2026

📦 Package Details

PKG_MAINTAINER:= Charles Chan hollidgelongsun157@gmail.com
opengnb: version 1.6.3 is ported to openwrt

Description:
OpenGNB is an open source P2P decentralized Software Defined Virtual Network with extreme intranet penetration capability,Allows you to combine your company-home network into a direct-access LAN.

All code related to the GNB project is released as open source, and the currently released source code supports the following platforms: FreeBSD Linux OpenWRT Raspberrypi OpenBSD macOS

GNB Features
Intranet penetration P2P VPN
No public IP required
Extreme link capability
Unlimited speed effects
Data Security
Reliable authentication between GNB nodes based on elliptic curve digital signature
Multi-platform support
GNB is developed in C language. It does not need to refer to third-party library files when compiling. It can be easily ported to the current popular operating systems. Currently supported operating systems and platforms include Linux_x86_64, Windows10_x86_64, macOS, FreeBSD_AMD64, OpenBSD_AMD64, Raspberry Pi, OpenWRT; as big as server environment, desktop system, as small as OpenWRT router with only 32M memory can run GNB network very well.

🧪 Run Testing Details

  • **OpenWrt Version:OpenWrt SNAPSHOT, r33495-2f74f9188f
  • **OpenWrt Target/Subtarget:x86/x86_64
  • **OpenWrt Device:intel NUC 11

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@keen0206
Copy link
Copy Markdown

greatly support, i desperately need this feature

@jobin20s
Copy link
Copy Markdown

感谢大佬的移植!以后不用自己在 OpenWrt 上编译了!

@charleschan2006-alias charleschan2006-alias changed the title opengnb 1.6.3 is ported to openwrt opengnb: 1.6.3 is ported to openwrt Mar 22, 2026
@charleschan2006-alias charleschan2006-alias changed the title opengnb: 1.6.3 is ported to openwrt opengnb: version 1.6.3 is ported to openwrt Mar 22, 2026
This ports opengnb version 1.6.3 to OpenWrt.

Signed-off-by: charles chan <hollidgelongsun157@gmail.com>
@opengnbdev
Copy link
Copy Markdown

charleschan2006-alias made great efforts for OpenGNB porting to OpenWRT platform

@linsir
Copy link
Copy Markdown

linsir commented Mar 23, 2026

Nice work! No more manual compilation from now on.

@bh1svr
Copy link
Copy Markdown

bh1svr commented Mar 23, 2026

Great addition! This would be a very useful tool for OpenWrt users. Hope to see it merged soon.

Copy link
Copy Markdown
Member

@BKPepe BKPepe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that you are including a lot of configuration files for Darwin, FreeBSD, and OpenBSD. However, these are not used within the OpenWrt environment, and the Makefile does not reference them at all. Is there a reason for including these redundant files in the OpenWrt package?

define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I. -I./src -I./libs -I./libs/miniupnpc -I./libs/libnatpmp -I./libs/zlib -D_GNU_SOURCE -DNO_GZIP=1 -DGNB_OPENWRT_BUILD=1" \
Copy link
Copy Markdown
Member

@BKPepe BKPepe Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question regarding the bundling of numerous libraries and applications. It seems redundant to me, especially since we already have packages like miniupnpc, zlib, and libnatpmp present in the system. Shouldn't these be treated as external dependencies instead of being bundled directly?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use openwrt lib as well. update the package version to 1.6.4. please check.

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-ver$(PKG_VERSION)

PKG_MAINTAINER:=OpenGNB Developer <hollidgelongsun157@gmail.com>
PKG_LICENSE:=GPL-3.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This SPDX License Identifier is deprecated.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to GPL-3.0-or-later.

@aa51513
Copy link
Copy Markdown

aa51513 commented Mar 23, 2026

good jod! I love your work!

@qq9077
Copy link
Copy Markdown

qq9077 commented Mar 23, 2026

oh yeah. that's meaning not need to recompile . 如果能进就太好了。

Signed-off-by: charles chan <hollidgelongsun157@gmail.com>
Signed-off-by: charles chan <hollidgelongsun157@gmail.com>
 Signed-off-by: charles chan <hollidgelongsun157@gmail.com>
@charleschan2006-alias charleschan2006-alias changed the title opengnb: version 1.6.3 is ported to openwrt opengnb: version 1.6.4 is ported to openwrt Mar 25, 2026
@cnkedao
Copy link
Copy Markdown

cnkedao commented Mar 27, 2026

Useful tool, highly recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants