Hi all, hope whoever reads this is doing well.
I have fair experience in managing NAS and servers, network knowledge and some docker knowledge.
I set up Twingate yesterday, and all went ok. Connector is up and running as docker container on my Synology 918+ NAS, the relay is connected, and I can connect via Android phone or computer to my account. Resources are all set up, the most typical I need is 192.168.0.0/24, but I tried other things too.
The problem is that I cannot access anything in the connector network, nothing on 192.168.0.X. I tried to changed users, tried Android and Windows, change resources (single IP, subnet, single port of single IP, etc., but nothing worked. I inspected the Docker network properties and the container is on a different IP subnet than my 192.168.X.X network:
"Gateway": "172.17.0.1", "IPAddress": "172.17.0.3", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0,
I pinged 172.17.0.3 in the NAS and works, so the container gets the packets.
I tried to get into the running container to see if I can ping something in the 192.168.X.X subnet but can’t do that because there is no /bin/bash in the container.
I started the docker container in command line in the NAS, not the interface, but I also saw several videos and pages (including how to run the connector on DSM7/Synology) and I have done nothing wrong. Proof of it is that the connector is properly connected to the relay.
The Docker container network mode is “bridge”; my google search showed that should not be the problem, but I am not sure.
Yesterday I saw some logs on Twingate that the user (myself) could not reach 192.168.0.15 (the IP I was trying to connect), which means the packets are not getting out properly. Yet, the NAS itself can reach that IP without a problem, so why in the world would the container not be able to.
Any help from you guys here?
This is my first try to use Twingate, and the tools seems a piece of cake to use, if I manage to overcome this stupid networking hiccup.
P.s. Bonus question: what do I have to do to pass all traffic through my connector, e.g., how to set up the resource to use Twingate like a VPN?