Remote access - Unable to connect to VPN server

IPv4/6, Port, VPN, proxy, SSH, remote access and more.
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Remote access - Unable to connect to VPN server

Post by section94 »

I have been trying to find a way to remotely connect to my F2-423 from outside my network. TNAS.online works fine for general access, file transfers etc. but videos are unplayable (immense lag and buffering) and a media server accessible from outside my LAN was the main reason I got this NAS. So lets get to the problem part:
I am using a 5G router and unsurprisingly my ISP uses CGNAT which means no outside access. Googling and asking around I was recommended to use a VPN server so I downloaded the VPN server app from TOS. I had already set-up a DDNS too if that matters at all. But I just can't get any client to connect to the VPN server no matter what protocol or settings I use. I already port forwarded the PPTP port to the local IP of my NAS. Every time the connections fail regardless of platform (tried from 2 different PCs and an Android phone). And now I am thinking this whole thing is dumb because I have to use the WAN IP of the router to connect to the VPN anyway which as previously mention is behind CGNAT. So how is the VPN server even a solution to this problem if I can't connect anything to it?

I am sure I am getting something wrong here so any help figuring it out would be appreciated.
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Remote access - Unable to connect to VPN server

Post by bugacha »

The easiest would be to setup Tailscale.
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Re: Remote access - Unable to connect to VPN server

Post by section94 »

bugacha wrote: 06 Dec 2024, 22:23 The easiest would be to setup Tailscale.
Terramaster support also said the same but I have no idea how to use that. Guess I have more reading to do now...

But still if anyone has thoughts about the VPN server let know.
User avatar
Gremlin
Gold Member
Posts: 1627
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Remote access - Unable to connect to VPN server

Post by Gremlin »

section94 wrote: 06 Dec 2024, 21:32 And now I am thinking this whole thing is dumb because I have to use the WAN IP of the router to connect to the VPN anyway which as previously mention is behind CGNAT. So how is the VPN server even a solution to this problem if I can't connect anything to it?
You are right, A local VPN server is not a solution unless ...
IPv6? (each machine should have unique identity on line)
Get a fixed IP from ISP. (Which is what I do, but not for VPN necessarily) Mine costs about £2/month add on.

A lot of ISP's have gone CGNAT route. {Same for mobile phone co's if anyone thinks that might be a solution - I have a cellular connection in event of broadband going out but it's no joy for inbound.}

Tailscale seems like a reasonable solution as it does bypass CGNAT and port forwarding. I'm sure there may be other similar services - maybe more local to you? And I believe Tailscale uses Wireshark.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Re: Remote access - Unable to connect to VPN server

Post by section94 »

Gremlin wrote: 06 Dec 2024, 23:58
section94 wrote: 06 Dec 2024, 21:32 And now I am thinking this whole thing is dumb because I have to use the WAN IP of the router to connect to the VPN anyway which as previously mention is behind CGNAT. So how is the VPN server even a solution to this problem if I can't connect anything to it?
You are right, A local VPN server is not a solution unless ...
IPv6? (each machine should have unique identity on line)
Get a fixed IP from ISP. (Which is what I do, but not for VPN necessarily) Mine costs about £2/month add on.

A lot of ISP's have gone CGNAT route. {Same for mobile phone co's if anyone thinks that might be a solution - I have a cellular connection in event of broadband going out but it's no joy for inbound.}

Tailscale seems like a reasonable solution as it does bypass CGNAT and port forwarding. I'm sure there may be other similar services - maybe more local to you? And I believe Tailscale uses Wireshark.
Thanks for making it clearer. I know very little about networking in general as you can probably tell so my next noob question is: How would I get an IPv6 address?
User avatar
Gremlin
Gold Member
Posts: 1627
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Remote access - Unable to connect to VPN server

Post by Gremlin »

section94 wrote: 07 Dec 2024, 01:40
Your isp either supplies it or it does not. Depends on whether they have adopted the newer protocol and whether your intermediate equipment (router, switches, etc) support it.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Re: Remote access - Unable to connect to VPN server

Post by section94 »

Gremlin wrote: 07 Dec 2024, 02:53
section94 wrote: 07 Dec 2024, 01:40
Your isp either supplies it or it does not. Depends on whether they have adopted the newer protocol and whether your intermediate equipment (router, switches, etc) support it.
I am not getting one with my current ISP but I am about to switch soon to one I already have on my phone and this one gets both IPv4 and IPv6 according to whatismyip. If all goes well with this, do I have to force the router somehow to only get the IPv6 in my APN settings?
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Re: Remote access - Unable to connect to VPN server

Post by section94 »

UPDATE:
Installed Tailscale on the NAS, my phone and my laptop and even that can't connect directly to the NAS (when I ping it, it pongs back only through relays and then says "direct connection not established)
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Remote access - Unable to connect to VPN server

Post by bugacha »

section94 wrote: 07 Dec 2024, 16:25 UPDATE:
Installed Tailscale on the NAS, my phone and my laptop and even that can't connect directly to the NAS (when I ping it, it pongs back only through relays and then says "direct connection not established)
Did you configure exit node ?
User avatar
section94
Posts: 9
Joined: 06 Dec 2024, 20:23
Greece

Re: Remote access - Unable to connect to VPN server

Post by section94 »

bugacha wrote: 07 Dec 2024, 17:20
section94 wrote: 07 Dec 2024, 16:25 UPDATE:
Installed Tailscale on the NAS, my phone and my laptop and even that can't connect directly to the NAS (when I ping it, it pongs back only through relays and then says "direct connection not established)
Did you configure exit node ?
Can't figure out how. I want to do it on the NAS. On the console its says "Re-run tailscale up with the --advertise-exit-node flag to enable this option." Where do I do that?
Locked

Return to “Network”