MacroX Posted November 28, 2021 Share Posted November 28, 2021 (edited) Hello, I would like to reach my unraid machine when i'm in travel. The main problem is my Internet service provider don't authorized me to put a NAT system or something like that. So I thought to use my unraid as an openvpn Client. I created an openvpn server in a VPS (Using docker : https://hub.docker.com/r/kylemanna/openvpn/ ). I tried to connect on my personal computer using an openvpn client, I got a private IP : 192.168.255.X/24 I used the docker "dperson/openvpn-client" on unraid and I have this message : Quote Sun Nov 28 16:16:01 2021 /sbin/ip addr add dev tun0 local 192.168.255.14 peer 192.168.255.13 My problem is the following : -> On my personal computer I tried to reach the admin interface : but Ko -> Ping 192.168.255.14 (IP client of unraid) : Ok Do you have any clue for me please? Solution : Used Zerotiers Edited December 6, 2021 by MacroX Quote Link to comment
itimpi Posted November 28, 2021 Share Posted November 28, 2021 16 minutes ago, MacroX said: The main problem is my Internet service provider don't authorized me to put a NAT system or something like that Are you saying you cannot set up port forwarding on your router? Quote Link to comment
MacroX Posted November 28, 2021 Author Share Posted November 28, 2021 Yes I canot set un port forwarding. I use at home a 4G connections and my ISP (FREE in France) used NAT for 4G connection. I already contacted my ISP but they confirm me that I cannot setup a port forwarding. Quote Link to comment
strike Posted November 28, 2021 Share Posted November 28, 2021 34 minutes ago, MacroX said: Yes I canot set un port forwarding Then you need to use something like ZeroTier, to use openvpn or wireguard you need to be able to port forward. But with something like zerotier you don't need that. There is a docker container for it. Quote Link to comment
MacroX Posted November 28, 2021 Author Share Posted November 28, 2021 Hello, Thanks for your help, indeed I already look on Openvpn… But I have à problem.. I cannot reach unraid When I used the docker « dperson/openvpn-client » This is why I created this topic. I can Ping the unraid machine, but I cannot reach it… Quote Link to comment
strike Posted November 28, 2021 Share Posted November 28, 2021 As I said you can not use openvpn becuse you can not port forward due to carrier grade NAT. And you're using openvpn wrong anyway. To reach your unraid machine with openvpn, you need a openvpn server on the unraid machine and a client on the machine you're connecting from. But as I said just forget about openvpn, you can not use it if you can not port forward on your router. use zerotier instead. You can use the openvpn server on your VPS as a router in a way so that clients can connect to each other but that is a advanced feature I think. If you want to try this google openvpn client-to-client. But I would just use zerotier instead and connect directly to your unraid machine instead of routing everything through a VPS, seems like too much trouble if you ask me. Quote Link to comment
MacroX Posted November 28, 2021 Author Share Posted November 28, 2021 OK thanks I understand better, thanks for your help and your explanation, I will have a look on Zero Tiers Thanks for your time. Quote Link to comment
MacroX Posted December 1, 2021 Author Share Posted December 1, 2021 (edited) Hello I'm back, with bad news... even if with the docker "zerotiers" I cannot reach my machine On Unraid: I put the Host to Bridge for the network in order to get the IP and to be online on ZeroTier. On my second device: I cannot ping my Unraid I cannot do SSH/Reach the Web Interface Edited December 1, 2021 by MacroX Quote Link to comment
strike Posted December 1, 2021 Share Posted December 1, 2021 (edited) What IP are you trying to reach and what is your unraid IP? You can not use the unraid IP, but you have to use the IP you set up in zerotier. Edit: And have you authorized you device in zerotier? Edited December 1, 2021 by strike Quote Link to comment
MacroX Posted December 6, 2021 Author Share Posted December 6, 2021 Hello I’m back thanks for your time… I had a little problem with my router and this is why I cannot reached my unraid. Now I tried with two solutions : - Zerotiers : Ok - VPS with SSH and portforwarding : Ok So the problem is solved. Again, thanks for your time. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.