Port forwarding seems not to work, although it's configured both on router and on Fritzbox.
Neither QuickConnect nor DDNS show any issue.
Router has a Wireguard tunnel set up.
pretty sure you dont want to dnat everything to one port here...
also, something seems off with your forwarding... cant find anything with 'wan'... not sure whether the DMZ-DNAT rule circumvents this requirement... ( wan <> dmz forwarding rule )... either way... can't find a lan <> wan either... maybe I'm short caffiene tho'
My suggestion is to remove route_allowed_ips from wg peer. Then install pbr package to configure which devices will use the tunnel. You need the router local services to be served from wan.
I'd like to avoid a policy-based routing that excludes NAS from VPN tunnel, since Download Station is in use.
The only reason for NAS to get external access is use of calendar as a more reliable (and more privacy-friendly) alternative to Google.
If you port forward traffic from the ISP, then you need to have some rule to return that traffic from the same interface. If you don't want to install pbr, you can try to accomplish that yourself with iptables, ip rules, and ip routes.
I have (almost) the same config, You can't put your nas over VPN and use portforwarding. If you wan't to use portforwarding to your nas, you have to excude it from the vpn tunnel.
As suggested use policy bases routing for this.
You can use the pbr for specific ports, the ones that you redirect., towards the ISP link, while the rest will be using the vpn. You can match ports/protocols, not just IPs.
@trendy, so what you are saying is that I can put my nas in the vpn tunnel, and exlude the ports that I need in portforwarding? Never to old to learn going to give it a try.
Sorry for hijcking the thread..
two other options are multihoming(virtual@alias if need be) the nas/router ( i.e. dmz2-altsubnet ) and tcpproxy...
probably already been mentioned but accessing vpn@wan and keeping your webdav phone settings consistent is a much better option for this kind of thing...
FritzBox configured with non-standard HTTPS Port Forwarding to Router WAN Interface
VPR Policy configured.
NAS to WAN Firewall Rule, any protocol, any destination
Port Forwarding Rule from any source host, any port in WAN to NAS, non-standard HTTPS destination port
For now VPR Policy uses all ports (both source and destination) with destination to all networks. Does anybody know which port(s) is/are used for communication between NAS and DDNS?
I'd like to know it in case I would route BT traffic over VPN.
I've provided destination port 443 to this VPR rule and set another one for routing DNS traffic from NAS over WAN.
For BT traffic over VPN I've created two rules with the respective port numbers set in Download Station.
Just feel free to suggest me any adjustment, in order to avoid any potential security risk.