You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting egress in netmaker dashboard and then change the openwrt routing, can access to netmaker mesh inside.
My uci settings are as follows:
network.@route[0]=route
network.@route[0].interface='lan'
network.@route[0].target='10.0.0.0/24'# netmaker range
network.@route[0].gateway='10.0.0.253'# lxc container
network.@route[0].mtu='1280'
If need to set LXC automatic starting setting
uci show lxc-auto
uci add lxc-auto container
uci set lxc-auto.@container[-1].name=$CONTAINER_NAME
uci set lxc-auto.@container[-1].timeout=30
uci show lxc-auto
uci commit
if using lxc at luci.
# lxc luci
opkg install luci-app-lxc
## if it is not appered.
/etc/init.d/uhttpd stop
rm -rf /tmp/luci-*
/etc/init.d/uhttpd start
This method cant use the encryption ASIC of the Router itself, so the CPU load can be larger.
i'm not export in wireguard, netamekr, lxc, openwrt all. (literally beginner)
If there is a problem, it is faster to ask the related community.
이 게시글이 누군가에게 도움이 됬길 바랍니다. 그리고 openwrt에서 netmaker가 공식으로 지원되면 좋겠네요.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. Netmaker Community.
I tried to configure the Tunnel by connecting the netmaker to the custom router with the OpenWRT.
I followed the official guide for Openwrt, but it didn't work all.
The reference I refer to is:
Among this, Sbilly's community contribution is grateful but too old. From the point of writing this article, the version of Openwrt is 22.03.
If run or install
netclient-arm64
asset from release, it occuredSystemd-related
errors. (Even if you specify an option as--daemon off
)Perhaps it seems to be must required systemd (this is bug?)
So I gave up installing native binary on Openwrt and decided to use virtualization instead.
Openwrt 22.03 uses NFTABLES, so Docker didn't work, so i used LXC.
My machine is openwrt 22.03 MT7622 ARM64 router. (BPI-R64)
I haven't tried the MIPS target, but I think it would be enough if the LXC worked.
The reference I refer to is:
Dependency installation
if need, using lxc-checkconfig to checking.
I'm a beginner of LXC, so I don't know what I need to running lxc. My setting is as follows:
creating container.
if dependency is insufficient, error is occured.
change container network config.
vi /srv/lxc/$CONTAINER_NAME/config
change link to
br-lan
, and modifyhwaddr
.... # Network configuration lxc.net.0.type = veth lxc.net.0.link = br-lan lxc.net.0.flags = up lxc.net.0.hwaddr = 00:FF:DD:BB:CC:01
container starting.
lxc-start -n $CONTAINER_NAME
if didn't change link, error occur when
vert
was connected.container status checking.
enternig the container shell.
lxc-attach -n $CONTAINER_NAME
Check the internal IP. If eth0 is designated as a band of br-lan set above, it is success.
instsalling netclient.
After setting egress in netmaker dashboard and then change the openwrt routing, can access to netmaker mesh inside.
My uci settings are as follows:
If need to set LXC automatic starting setting
if using lxc at luci.
This method cant use the encryption ASIC of the Router itself, so the CPU load can be larger.
i'm not export in wireguard, netamekr, lxc, openwrt all. (literally beginner)
If there is a problem, it is faster to ask the related community.
이 게시글이 누군가에게 도움이 됬길 바랍니다. 그리고 openwrt에서 netmaker가 공식으로 지원되면 좋겠네요.
고마워요 netmaker!
Beta Was this translation helpful? Give feedback.
All reactions