mirror of
https://github.com/fosrl/olm.git
synced 2026-03-09 07:13:10 -05:00
Newt/Olm Connection Issues #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tullisar on GitHub (Oct 14, 2025).
Describe the Bug
I'm having trouble with connectivity between some of my newt/olm clients, and have exhausted the troubleshooting covered in the docs. I'm not sure if my setup is supported or if I'm doing something else wrong. I have both Newt and Olm running on the same host in Docker containers. Newt is configured to run with
--native, and both of the services are running withnetwork_mode = "host". I can see both WG interfaces on the host machine. However, in some cases I can't ping newt sites from an olm client where there is also a newt instance running on the same machine because of IP routing issues that I'm not sure how to solve. My goal was to be able to use olm/newt in this way to be able to connect my host running a particular monitoring service to a remote agent service running on another host.Example:
The sites and clients all show as connected in Pangolin. Each site is configured to allow the respective clients access (and the newt clients are themselves configured to accept clients). However, connection from one host's Olm client to another site seems to depend on how the host routes things. For instance, I can ping 100.90.128.1 from Host 1, but not from Host 2. When pinging from Host 2, I get a destination host unreachable error (since it seems like the ping originates from 100.90.128.4 rather than 100.90.128.6).
Ping from Host 2 -> Host 1
Olm logs on Host 2
I can confirm that
sysctl net.ipv4.ip_forwardreports it is enabled. I'm not sure if NAT masquerading is properly enabled though. I ran the command in the guide but noticed that my hosts all use nf_tables under the hood so when list the POSTROUTING chain with iptables I see this error:Is what I'm trying to do possible with Olm/Newt right now?
Environment
To Reproduce
Expected Behavior
Reliably connect from an Olm client on a host also running Newt.
@tullisar commented on GitHub (Oct 14, 2025):
The more I think about this, it probably isn't possible - it seems like a source routing issue. I imagine supporting something like this would better be by allowing Newt sites to be configured to allow connections to other sites with restrictions.