Technical Discussion
  >> Home Networking, Internet Connection Sharing, etc.


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | 3 | >> (show all)   Print Thread
Standard User Peterdevon
(learned) Mon 08-Jul-24 09:14:06
Print Post

Draytek 2925 port forwarding


[link to this post]
 
I am trying to forward port 80 to NAS drive, I have changed the ports in the management setup and added port forwarding rule in NAT/port redirection but 80 still remains closed, has anyone had this problem?
Standard User copex
(committed) Mon 08-Jul-24 19:52:36
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
i would strongly advise against using port 80, use https 443,

in port redirect src port 8443 dest port 443 on all interfaces for https

or

in port redirect src port 8080 dest port 80 on all interfaces for http

to access from the outside world, use https://{public ip}:8443 or http and :80 for http
Standard User danielhyde
(committed) Tue 09-Jul-24 09:37:32
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
That won't work if you still access the DrayTek web admin on port 80.
But as said above opening port 80 is not good and ideally https access should be used.

Thanks
Dan


Register (or login) on our website and you will not see this ad.

Standard User Peterdevon
(learned) Tue 09-Jul-24 12:28:59
Print Post

Re: Draytek 2925 port forwarding


[re: danielhyde] [link to this post]
 
I have changed the web admin to 8080 and SSH to 4433 so in theory the redirects on 80 to local ip:80 and 443 to local ip:443 should work but they don't
Standard User Michael_Chare
(knowledge is power) Tue 09-Jul-24 13:01:01
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
I use a Wireguard VPN for remote access. The client runs on my Windows 10 laptop. More secure than port forwarding.

Michael Chare
Standard User Zadeks
(experienced) Tue 09-Jul-24 13:08:35
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
Try a port above 1024.
Standard User fguk
(newbie) Tue 09-Jul-24 13:59:47
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
I'm not sure how to explain it not working on port 80, but do you need to disable or redirect SSL VPN as well for port 443?

Also, presume you have set it to TCP, and to All WAN connections within the NAT rule. Made sure you are up to date with the Firmware just in case?

I also presume from your PC connection (internal to the NAS) that connection to the management pages is fine?

Silly question, but you are on a fixed IP on your WAN side that doesn't use anything like CGNAT etc etc? Or you have DDNS setup etc?

Got anything else forwarding using NAT, so you know all is well with the router?
Standard User Peterdevon
(learned) Tue 09-Jul-24 14:37:36
Print Post

Re: Draytek 2925 port forwarding


[re: fguk] [link to this post]
 
By default the SSl VPN is on port 443 so have changed to 4433
Firmware is the latest.
Ports are open on NAS drive
Fixed IP address
No other ports forwarded
It worked on aTP Link router but have changed as all IPv6 is open on the internet
Standard User nofappingway
(member) Mon 15-Jul-24 14:50:43
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
I would strongly advise not publishing the WebGUI of your NAS to the public internet. It's a far more secure solution to VPN into your Draytek and access your NAS.

If you wish to proceed anyway, your Draktek will be using the most of the standard ports so you'll need to publish a non-standard port. You'll also want to use the Firewall to restrict who can access that port once open. For example, block all Countries except the country you reside in would be a great place to start. Lock it down further if you can.
Standard User DFScale
(member) Mon 15-Jul-24 17:19:33
Print Post

Re: Draytek 2925 port forwarding


[re: nofappingway] [link to this post]
 
In reply to a post by nofappingway:
IYou'll also want to use the Firewall to restrict who can access that port once open. For example, block all Countries except the country you reside in would be a great place to start.

Not possible to use a firewall to bock by country. The internet is not organised in that way.
Standard User nofappingway
(member) Mon 15-Jul-24 17:20:56
Print Post

Re: Draytek 2925 port forwarding


[re: DFScale] [link to this post]
 
Country block lists are indeed a thing. I use them
Standard User hunnymonster
(fountain of knowledge) Mon 15-Jul-24 17:26:12
Print Post

Re: Draytek 2925 port forwarding


[re: DFScale] [link to this post]
 
In reply to a post by DFScale:
Not possible to use a firewall to bock by country. The internet is not organised in that way.


Oh no! Better stop doing that then.
Standard User jchamier
(eat-sleep-adslguide) Mon 15-Jul-24 19:39:17
Print Post

Re: Draytek 2925 port forwarding


[re: nofappingway] [link to this post]
 
In reply to a post by nofappingway:
Country block lists are indeed a thing. I use them

So when I’m at work, in an office in central London, my internet appears to be from the USA. The internet connection routes into LINX at Telehouse, but the IP address is owned by our head office in US. Too many websites (including Google maps) think we are in the USA, and others deny access.

Geo-IP is mostly a guessing game frown

24 years of broadband connectivity since 1999 trial - Live BQM
Standard User nofappingway
(member) Mon 15-Jul-24 19:40:53
Print Post

Re: Draytek 2925 port forwarding


[re: jchamier] [link to this post]
 
It is indeed imperfect......but it stops over 99% of the noise from bad actors in 'those countries'
Standard User jchamier
(eat-sleep-adslguide) Mon 15-Jul-24 19:42:04
Print Post

Re: Draytek 2925 port forwarding


[re: nofappingway] [link to this post]
 
Infected computers on broadband… it just about helps. Email industry decided to “very low score” all broadband IPs to try and solve one problem.

24 years of broadband connectivity since 1999 trial - Live BQM
Standard User DFScale
(member) Mon 15-Jul-24 21:44:02
Print Post

Re: Draytek 2925 port forwarding


[re: nofappingway] [link to this post]
 
In reply to a post by nofappingway:
Country block lists are indeed a thing. I use them

They might exist and you might use them. But it is still not possible to use a firewall to bock by country. The internet is not organised in that way.

You are just using some snake oil with no idea of your false positives and false negatives.
Standard User andew
(member) Mon 15-Jul-24 21:54:55
Print Post

Re: Draytek 2925 port forwarding


[re: DFScale] [link to this post]
 
The draytek can easily block by country,

https://www.draytek.co.uk/support/guides/kb-firewall...
Standard User DFScale
(member) Mon 15-Jul-24 22:42:03
Print Post

Re: Draytek 2925 port forwarding


[re: andew] [link to this post]
 
In reply to a post by andew:
The draytek can easily block by country,

https://www.draytek.co.uk/support/guides/kb-firewall...


Well, yes, it is easy to set up. But the internet is not organised by country, so it cannot be fully doing what it purports to do. Plus, with VPN's, you can choose to have your traffic appear to come from anywhere in the world you choose. It's delusion, firstly that the country blocklist is even relatively free of false positives and negatives and secondly that an IP address for a whitelisted country is not a VPN front for a blacklisted country.

It is false comfort.
Standard User ian72
(eat-sleep-adslguide) Tue 16-Jul-24 08:34:49
Print Post

Re: Draytek 2925 port forwarding


[re: DFScale] [link to this post]
 
It isn't false comfort. By blocking by "country" you are able to exclude a large percentage of hackers from Russia and China. Some will still get in. Some people in allowed countries will not be able to access. But, as a blunt tool it can help in giving a level of protection that is probably about 80-90% accurate.
Standard User mbames
(committed) Tue 16-Jul-24 12:33:11
Print Post

Re: Draytek 2925 port forwarding


[re: Peterdevon] [link to this post]
 
I have done a similar configuration in the past, but to a rpi instead of a NAS.

80 and 443 redirect to the rpi, and my 2925's web interface is on 8080.

Used NAT | Open Ports and had an entry for 80 TCP/UPD to the static IP of the rpi
WAN interface: WAN1
Source IP: Any

repeated for 443

Vodafone Fibre (Superfast2 - 80/20), Draytek 130, DrayTek 2925, DrayTek AP-910c x 2
(Gone but not forgotten: AP-700, 2820n x 2, 2800vg, 2800, HG612)

Speedtests:
ThinkBB - Mini | ThinkBB - Full | Speedtest.net
Standard User prlzx
(experienced) Tue 16-Jul-24 13:28:48
Print Post

Re: Draytek 2925 port forwarding


[re: ian72] [link to this post]
 
Personally for incoming connections I'd rather just block everything by default then create an IP allow list consisting of addresses and networks I manage or know about.

Other than that incoming access (particularly for private storage or content) is by (keypair-based) VPN only.

It's all rather tangential to the OP's question anyway but for the sake of technical correctness, the most dangerous sources are those controlled under botnets which by definition are not tied to any single geographical regions.



prlzx on Zen: FTTC (VDSL) at ~40Mbps / 10Mbps
with IP4/6 (no v6? - not true Internet)
Standard User DFScale
(member) Tue 16-Jul-24 14:45:56
Print Post

Re: Draytek 2925 port forwarding


[re: ian72] [link to this post]
 
In reply to a post by ian72:
It isn't false comfort. By blocking by "country" you are able to exclude a large percentage of hackers from Russia and China. Some will still get in. Some people in allowed countries will not be able to access. But, as a blunt tool it can help in giving a level of protection that is probably about 80-90% accurate.

That's false comfort exemplified.
Standard User DFScale
(member) Tue 16-Jul-24 14:46:47
Print Post

Re: Draytek 2925 port forwarding


[re: prlzx] [link to this post]
 
In reply to a post by prlzx:
It's all rather tangential to the OP's question anyway but for the sake of technical correctness, the most dangerous sources are those controlled under botnets which by definition are not tied to any single geographical regions.

Exactly.
Standard User ian72
(eat-sleep-adslguide) Tue 16-Jul-24 14:46:57
Print Post

Re: Draytek 2925 port forwarding


[re: DFScale] [link to this post]
 
I disagree. It is providing a level of protection - it is by no means perfect but it will reduce risk to some extent. Some mitigation is better than none.
Standard User nofappingway
(member) Tue 16-Jul-24 15:04:57
Print Post

Re: Draytek 2925 port forwarding


[re: ian72] [link to this post]
 
Agreed. No one is stating using Country Blocks is the silver bullet but it does absolutely reduce the surface area of attack considerably.

Edited by nofappingway (Tue 16-Jul-24 17:36:26)

Pages in this thread: 1 | 2 | 3 | >> (show all)   Print Thread

Jump to