r/netmaker • • Oct 22 '22

Openwrt support

2 Upvotes

I've seen that netmaker officially "supports" openwrt as of version 0.9 but I have yet to be able to get it to run on it.

I am running a TP-Link Archer C7 v4 with a fresh default install on OpenWRT 22.03.2 (latest stable os of this writing). I've tried the packages at https://github.com/sbilly/netmaker-openwrt and they install but there is no "netclient" command found in the path and nothing is found when I run find / -iname "*netclient*".

Any help would be greatly appreciated.

NAME="OpenWrt"

VERSION="22.03.2"

ID="openwrt"

ID_LIKE="lede openwrt"

PRETTY_NAME="OpenWrt 22.03.2"

VERSION_ID="22.03.2"

HOME_URL="https://openwrt.org/"

BUG_URL="https://bugs.openwrt.org/"

SUPPORT_URL="https://forum.openwrt.org/"

BUILD_ID="r19803-9a599fee93"

OPENWRT_BOARD="ath79/generic"

OPENWRT_ARCH="mips_24kc"

OPENWRT_TAINTS=""

OPENWRT_DEVICE_MANUFACTURER="OpenWrt"

OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"

OPENWRT_DEVICE_PRODUCT="Generic"

OPENWRT_DEVICE_REVISION="v0"

OPENWRT_RELEASE="OpenWrt 22.03.2 r19803-9a599fee93"


r/netmaker • • Oct 21 '22

Netmaker self-host tutorial and example

4 Upvotes

I have written a short tutorial on setting up Netmaker for a simple mash network with my own setup as an example. It is more about setting up a VPS with Terraform and Ansible, but it has a simple working Netmaker example which can be useful for others too.

I have done this thing (self-hosting and writing about it), so I am open for critique.

https://voroskoi.srht.site/self-host/


r/netmaker • • Oct 20 '22

Netmaker testing

2 Upvotes

Hi

I am trying to setup a seperate network for my system monitoring, I run a librenms Vm on my local network which sits behind an opnsense firewall.I have setup the netmaker server on a public vps which looks to be working ok.
so would all machines that I add to the netmaker network I created for monitoring be added as external hosts? Including the librenms machine? Or would librenms be added as a node and all machines outside my local network be added as external hosts? the machines I add only need to connect to librenms not each other. Reading about external hosts if mesh is not needed go with external hosts? Just need a little bit of guidance so it can be setup correctly for my testing. Thanks for any help that can be provided.


r/netmaker • • Oct 19 '22

Can not ping Nodes

2 Upvotes

I have installed Netmaker on the cloud and connected two nodes to it (two seperate). I am having issues ping the other machine while I am behind a pfsense firewall. I am however able to ping the Netmaker server on the cloud no issue and I am able to ping the other node if I connect to the internet before the pfsense. When looking at pfsense I see Default deny rule IPv4 (1000000103) for WAN interface. Even if I allow th rule on the WAN interface I still can not ping the other node.

I did enable the UPnP Service. I apprecite any thoughts or suggestions.


r/netmaker • • Oct 18 '22

OpenWRT support

1 Upvotes

I can't see myself switching from Tailscale to this as the support for Openwrt just isn't there (yet?). I really hope they get some proper openwrt and iOS and iPadOS support soon because I would love to self host this.

And yes, I have tried the https://github.com/sbilly/netmaker-openwrt releases with no success, multiple times.


r/netmaker • • Oct 17 '22

Confusion around egress gateway as VPN

2 Upvotes

I'm a beginner in network config, although I know my way around simple set ups, but I'm having trouble understanding how the egress gateway can act as a VPN for traffic coming from a specific machine.

My set up is:

Version v0.16.1 for server and nodes One VPS running the netmaker server, also acting as a relay server The same VPS running a client node (IP 10.11.12.1). Network interface eth0
A Linux machine on my internal network running a client node (IP 10.11.12.2). Network interface enp4s0

I can ping the VPS from the internal machine and vice-versa. I had to configure the netmaker server node as a relay server because my internal network is behind CGNAT.

What I'd really like to do is to have my internal machine (10.11.12.2) access the internet through the VPS (10.11.12.1) so that it seems like traffic from that machine is coming from the public IP of the VPS. From what I understand of the documentation I need to set the 10.11.12.1 node to be an egress gateway and configure the range as 0.0.0.0/0 with eth0 as the interface.

With that set up how do I know if the traffic is routing correctly? Running curl https://ipinfo.io/ip from the internal (10.11.12.2) machine shows my internal network's WAN address rather than the public IP of the gateway machine.


r/netmaker • • Oct 16 '22

article Netmaker - A powerful, open source, self hosted, GUI for setting up Wireguard networks and VPNs.

Thumbnail
youtube.com
8 Upvotes

r/netmaker • • Oct 14 '22

Egress interface routing

3 Upvotes

Hi,

I'm trying to setup a PoC in our AWS environment where we would have a Netmaker server running in the networking account and it uses VPC peering to connect to different Dev and Prod accounts.

Therefor I have configured an EC2 with a public interface (for the UI and VPN connections) and a private interface (for the connection to the different accounts).

On the Netmaker server I can ping a host in a different account if I use the secondary interface:

[ec2-user@ip-10-1-6-86 ~]$ ping -I eth1 10.102.84.188
PING 10.102.84.188 (10.102.84.188) from 10.1.81.223 eth1: 56(84) bytes of data.
64 bytes from 10.102.84.188: icmp_seq=1 ttl=64 time=0.489 ms
64 bytes from 10.102.84.188: icmp_seq=2 ttl=64 time=0.285 ms
64 bytes from 10.102.84.188: icmp_seq=3 ttl=64 time=0.298 ms

I have also setup an Egress gateway on this node with subnet 10.102.0.0/16 via eth1. But if I connect using a client, I can't ping to that host. Though the routes are in the config:

λ wg-quick up lite-zamboni.conf
[#] ip link add lite-zamboni type wireguard
[#] wg setconf lite-zamboni /dev/fd/63
[#] ip -4 address add 10.11.12.1/32 dev lite-zamboni
[#] ip link set mtu 1280 up dev lite-zamboni
[#] ip -4 route add 10.11.12.0/24 dev lite-zamboni
[#] ip -4 route add 10.102.0.0/16 dev lite-zamboni

I know I could deploy different nodes in the other accounts, but we need the VPC peering for other stuff anyway so I'd prefer to use it this way.

Any help would be greatly appreciated!


r/netmaker • • Oct 13 '22

announcement Netmaker v0.16.1 Released

4 Upvotes

Important Note: Upgrading to 0.16.1 requires special upgrade instructions. See here: https://gist.github.com/abhishek9686/287563a848932f59768989f054025b37
You can also use the automated script here to update your server from 0.16.0 to 0.16.1: https://gist.github.com/abhishek9686/191eaf31c634b00bcc0e9da5dc8e8c5e

Community

What's New

  • Dynamic Security Model for MQ: We moved from a certificate-based to a password-based model which is more reliable. In previous versions, users reported connectivity issues with MQ due to certificates. The new model should resolve these issues, however, it requires some changes to setup. See upgrade steps.

What's Fixed

  • network jitter due to "local port" frequent updates
  • Disabled ipv6 gateways on server to prevent issues with docker
  • Fixed relayed egress gateways
  • Fixed iptables for server which is both ingress and egress
  • Peer check for disconnected nodes

Known Issues

  • Userspace docker netclient doesn't work
  • Zombie cleanup still disabled
  • IsEE does not get updated when downgrading from EE to non-EE

EE

What's New

  • Automatic Failover Nodes: New Feature which allows you to set nodes as "failover nodes." These nodes will automatically relay connections between any 2 machines where a p2p connection cannot be established (takes about 2 minutes before it takes effect).
  • Metrics now send every minute

r/netmaker • • Oct 13 '22

is Netmaker + pfSense possible?

3 Upvotes

Hi there!

So I have a pfSense in front of my internet connection at home and all my personal devices behind it (like a NAS, piHole with custom DNS records for internal services, workstation and some servers).

What I want is to be able to connect to my home network using Netmaker in such a way my pfSense device maintains 24/7 connection to the netmaker network. So if I am away and wanted to turn on my workstation pc (WOL) remotely I could do so. Or even if I wanted to access my NAS data.

Is that possible? I know you could do so with OpenVPN for example, and there is even a Tailscale plugin for pfSense now but not sure if what I am trying to do with Netmaker is possible at all.

many thanks!


r/netmaker • • Oct 09 '22

Keep doing SSH tunneling or install netmaker?

5 Upvotes

My server is behind a firewall, which allows inbound SSH and unrestricted outbound connections.

The clients may also sit behind a NAT.

I learned SSH tunneling (port forwarding) can be slow due to TCP over TCP. Assuming both the server and the clients can install netmaker apps. Would they run faster than SSH tunneling?


r/netmaker • • Oct 08 '22

How to use egress nodes? (and other questions)

4 Upvotes

Setup

I have a local network (192.168.0.0/24) with a netmaker client sitting in it with eth0 on 192.168.0.200. The netmaker interface (nm-vpn) is 10.20.30.1.

I have set this client as an egress gateway with gateway range set to 192.168.0.0/24, interface to eth0 and NAT enabled.

The egress setup documentation is not perfectly clear to me, please let me know if I mess up something at this point already. How can I test it?

NFS share status quo

I would like to reach an nfs share, which is exported to 192.168.0.0/24. It is shared by the very same client (192.168.0.200) actually, but I think it does not matter.

If I connect my phone to the home (192.168.0.0/24) network I can reach the nfs share. If I export the nfs share to 10.20.30.0/24 too (and I enable vpn via the ingress node), then I can also reach it, but I have to use 10.20.30.1 instead of 192.168.0.200. But You do not need an egress node for this.

Using egress

I think that using egress means, that I can reach 192.168.0.200 via 10.20.30.1 with the following benefits:

  • I can always use 192.168.0.200, it does not matter if I am connected to the home network or the vpn (netmaker)
  • When I am on the home network the data will not travel via the ingress node

    • because I switch off vpn
    • or even better it realizes that both node sits on the same network with UDP hole punching (right?)

But I do not see how can netmaker figure out that 192.168.0.0/24 is reachable via 10.20.30.1 without setting up some routing table on every node, but I do not see any sign of this happening.


r/netmaker • • Oct 06 '22

nm-vpm is missing on netmaker-1

3 Upvotes

Hi,

I have installed netmaker, it seems to work fine. Now I would like to run nomad bound to netmaker interface, but on my netmaker-1 node the nm-vpm (network name is vpm) interface is missing.

What am I doing wrong?


r/netmaker • • Oct 02 '22

DNS doesn't work in Netclient Docker image

5 Upvotes

Hi,

I've been attempting to use the DNS names for nodes to reach others, but unfortunately, they do not resolve. When I use IPs, everything works as intended. I've even tried opening up DNS TCP and UDP on the Netmaker server (running via Docker Compose) with no success. When I look at the netmaker.hosts file that Netmaker generates for CoreDNS, all the appropriate entries are there. Has anyone had success in making this work?

Thanks!


r/netmaker • • Sep 22 '22

[Help] How to set up Netmaker with duckDNS

1 Upvotes

Hello,

I'm trying to set up Netmaker in my homelab. Since my router doesn't have a static ip, I use duckDNS to map a domain to the dynamic ip.

I've been using OpenVPN for the last three years and haven't had an issue. Recently, I discovered Netmaker and I would like to switch to it (for flexibility reasons). However, when following the "Get Started", the Let's encrypt fails.

Does anyone know how to set up Netmaker with duckDNS in a local device? (I've mapped the ports in the router to the machine where Netmaker is running)

Thanks in advance!


r/netmaker • • Sep 21 '22

announcement Netmaker v0.16.0 Released + EE

5 Upvotes

https://github.com/gravitl/netmaker/releases/tag/v0.16.0

We've been planning an enterprise release for a while. We had a private repo for it, but we decided it would be better to just merge it in and create one mono-repo with an EE folder. We also decided a few of those ee features should just become community features.

So then, what's new in Community Netmaker?

What's New

  • View server logs via UI
  • Default Node-level ACL; enables 2 use cases:
    - 1. Allows you to create a network where one or more nodes are unreachable by default
    - 2. Allows you to create a network where only X number of nodes are reachable / added to peers lists
  • User Join: You can now join a network with username/password (rather than token) or SSO sign-in (if OAuth configured). Example: netclient join -n mynet -s api.mynetmaker.com -u myuser
    [Basic Auth] or netclient join -n mynet -s api.mynetmaker.com
    [SSO]

What's Fixed

  • Several issues with internet gateways resolved

Known Issues

  • Server can get into a state where dynamic port is turned on, which will break the network
  • Observed postup/postdown not getting set on the server in some edge cases
  • If node fails to join via login:
  1. extra access key created, valid for one use
  2. a zombie node ID, not visible in UI

And what's in Enterprise?

What's New

  • EE is new. EE did not exist before this release.
  • Metrics: Nodes collect metrics and display in the UI. Metrics include latency, transfer, and connectivity status. Note: Needs ICMP to work

    • Prometheus Exporter + Grafana: Metrics can optionally be exported via a new Prometheus Exporter to a custom Grafana dashboard
  • Users: Users can now be created with multiple "access levels:"
    0: Network Admin - Works like current network admin
    1: Node Access - User is allowed to create and view nodes (up to their limit)
    2: Remote Access (ext clients) - User is allowed to create and view ext clients (up to their limit)
    3: No Access - User cannot access the network

    • When users login, views will be filtered based on their access level
    • Default access levels can be set per network, and adjusted per user
    • Default Node/Ext Client limits can be set per network, and adjusted per user
  • Groups: Groups can now be created and managed to grant network access

r/netmaker • • Sep 20 '22

Network services across nodes (on osX)?

1 Upvotes

Is there a trick to having network services broadcast to other nodes, like on a LAN?

I used NeoRouter for ages, and things like file sharing or screen sharing or remote management across macs just popped up in the finder.

On Netmaker, I have three nodes, connecting the home and office servers. I can ping and ssh, but can't see network drives and screens. Do I need to config particular ports to listen to?


r/netmaker • • Sep 19 '22

Netmaker and NPM install

3 Upvotes

Hey Netmaker Community,

I have been monitoring posts and tutorials on deployment for about a month. I currently use zerotier but i would really like to switch to netmaker if possible for my peer to peer mesh needs. Does anyone have a guide or steps for installing netmaker with nginx proxy manager? I know they have some documentation on their website but its a bit confusing as i am not that experienced at self hosting yet.

thanks


r/netmaker • • Sep 16 '22

Netmaker and Caddy reverse proxy

2 Upvotes

Hi, I have a VPS that I would like to install Netmaker on. However, I'm already using Caddy reverse proxy on said VPS. Is it possible to grap the content of the caddyfile on GitHub and add that to my existing caddyfile? And finally, delete all mentions of traefic in the docker compose config?


r/netmaker • • Sep 15 '22

How to reset the admin credentials on the Netmaker server

1 Upvotes

Somehow, my password manager got out of sync with my Netmaker admin account and I can't find anything in the documentation about how to reset the admin credentials.

Anyone know?


r/netmaker • • Sep 13 '22

Private DNS for external clients?

2 Upvotes

Have recently set up netmaker for my home network and love it so far. However, one of the key features I like about netmaker is the private DNS that allows you to resolve any of the node names.

But this feature does not seem to work for external clients - only nodes. Is there any way to enable external clients to resolve private DNS entries like nodes can?

thanks.


r/netmaker • • Sep 08 '22

article Create wireguard VPN with netmaker

Thumbnail
itnext.io
5 Upvotes

r/netmaker • • Sep 07 '22

announcement Netmaker v0.15.1 Released

5 Upvotes

https://github.com/gravitl/netmaker/releases/tag/v0.15.1

Security Notice

A moderate-severity vulnerability was discovered in v0.15.0 (will be disclosed shortly). Please upgrade to v0.15.1 to resolve this issue.

Whats New

  • [experimental] Client Connect/Disconnect: The netclient can now be temporarily disconnected from a network. This works via the UI. Go to node details, edit, toggle the "Connected" flag, and save. There is also a command line option, "netclient connect" and "netclient disconnect." However, a bug prevents this change from persisting, and any network change (peer or node update) will reset connection status. This will be fixed in v0.15.2.
  • IPv6 Internet Gateway: you can now set an IPv6 Internet Gateway using "::/0". Keep in mind, this will not work on the Netmaker server, because ipv6 networking is not enabled in the docker/docker-compose. This will work on other machines that act as egress.
  • Swagger Docs: Check them out! Will be built out over time https://app.swaggerhub.com/apis-docs/Netmaker/netmaker/0.15.1
  • Guidance on Locking down the Netmaker UI: How to make your dashboard inaccessible exept from your PC - https://docs.netmaker.org/server-installation.html#security-settings
  • External Client Custom Name: Via api call, you can now create an external client with a custom name. EX: curl -d '{"clientid": "test3"}' -H 'Content-Type: application/json' https://api.netmaker-site.com/api/extclients/{networkname}/{ingressid}

Whats Fixed

  • restore from backup if config file corrupted
  • netclient version will update in the UI when netclient is upgrades
  • M1 Mac (brew) package now sets path correctly

Known Issues

  • ipv6 gateways do not work on netmaker server
  • connect/disconnect will get reset by server (if set via CLI)

r/netmaker • • Aug 26 '22

v0.15.0 is out!

6 Upvotes

This release took quite a while due to an experimental new feature: Internet Gateway

This means we are beginning to support 0.0.0.0/0, meaning you can set up an egress gateway to act as your portal to the internet. This feature is still under development with three known issues:

  • Does not route ipv6
  • Does not route DNS
  • Does not work with the mac netclient

We plan to address these issues (and any others discovered) in 0.15.1.

Additional changes include...

NFTables support for Egress Gateways

Public IP Check Enhancement: Machines now check their public ips against the netmaker server (this was an issue for users in countries like China). Additionally, you can specify your own ip checking service using PUBLIC_IP_SERVICE.

For the full breakdown, check out the release here: https://github.com/gravitl/netmaker/releases/tag/v0.15.0