netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

[Bug]: External client config gets an extra comma in AllowedIPs when having egress network added (v0.13.0)

Open pellz0r opened this issue 4 years ago • 3 comments

Contact Details

[email protected]

What happened?

I currently have a node in the network that also acts as an egress. When I then created an ingress and tried adding an external client it failed when trying to import the external client config on my phone. Looking at the client config file, it looks like an extra comma has been added to the AllowedIPs field, causing it not to work.

`[Interface] Address = 10.10.100.4/32 PrivateKey = MTU = 1280

[Peer] PublicKey = AllowedIPs = 10.10.100.0/24,,192.168.1.0/24 Endpoint = 123.123.123.123:51822 PersistentKeepalive = 20`

Version

Not listed

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

  • [X] Yes, I did.

pellz0r avatar Apr 28 '22 11:04 pellz0r

Can confirm this happens without engress node.

susanthenerd avatar Apr 29 '22 08:04 susanthenerd

patched in 0.13.1, which will be released likely Monday (05/02). Thanks for pointing it out.

0xdcarns avatar Apr 29 '22 12:04 0xdcarns

Fixed in 0.13.1

afeiszli avatar May 02 '22 17:05 afeiszli