Allowing random IP/PORT into LAN
-
@wwdot_computers said in Allowing random IP/PORT into LAN:
there is a random IP and random Port that are generated when trying to connect.
Well that is not going to work very well when you don't allow what port they are going to use..
Not sure how you think there is something that can magically fix this in a firewall.. Have the owners of where your trying to connect to give you an IP range or ASN that they will be hosting off of, and what possible ports that might be used.. I doubt its all 65k of them.. And they are hosting off something so while it might be a large CDN or something - its not going to be all of the internet
-
@wwdot_computers So, your "_standard_out" aliases or another rule needs to allow the port used. If you don't know the port you can enable that "default allow all" rule up top to allow all outbound.
Edit: or allow the service's IP(s) as John described, using any port.
-
@wwdot_computers said in Allowing random IP/PORT into LAN:
I do not want things calling
Good luck with this approach.
-
@Bob-Dig yeah not really fan of that sort of blocking to be honest either.. If something bad was going to be calling home - they would be doing it over known used ports anyway - most likely 443 these days now that anyone can get a ssl cert for any domain they have control over in like 30 seconds ;)
If you run bad code and it wants to talk outbound your too late if you ask me.. Hey I log outbound traffic from my iot stuff for example - and I do take a look at now and then to see if anything fishy is going on..
Blocking via dns is much easier to stop from going to place you don't want users going to to be honest. Or blocking known bad IP ranges, sure ok.. But then again most bad stuff prob just going to spin up an instance in some CDN or hosting platform anyway. But trying to run a allow only specific your going to be doing that a lot ;) Its a lot of work..
What I find odd is called support, why wouldn't they just have given you the IP (range or ASN) and port(s) when you called them and said you were having issues?
-
Thank you all for responding. I do use a DNS filter for my clients. I kind of figured that there was not going to be a way to dynamically open ports. I was on the phone with support for a while last night. While the guy had some good knowledge of firewalls and networking, I had already tried all of his suggestions. All I wanted to know was the port and IP ranges. He pinged his colleague and had zero luck finding out that information.
I will continue to use my VPN for the video calls.
However, that does not fix my issue regarding the Datto Backup. I have added the ports that need to be open into an alias, as I sure you can see, both the TCP and UDP. There is one port that they are saying needs inbound access:
Inbound connectivity on the protected machine:
TCP port 25568 (for Datto Windows Agent service)How do I open that up? Like I said, new to pfSense and the like. I have tried creating a WAN rule, I must not have had things correct because the agent still would not connect. I tried NAT, and must have the same issue as the agent just would not connect. However, like the video call, the agent connects fine when on VPN.
-
@wwdot_computers Datto would be on your network so is not related to pfSense, because traffic between PCs on the same interface doesn't go through the gateway. They mean, open that port in the Windows firewall.
-
@wwdot_computers if you want port 25568 that hits you public facing interface (wan) to get forward to some inside machine say 192.168.1.100 that would just be a port forward.
That and then the associated firewall rule that the port forward can auto create for you.. Just need to make sure the rule is in the correct place on your wan so some other rule you might have placed there doesn't block the traffic your trying to allow.
edit: if this is machine A talking to B that are on the same network - as @SteveITS mentions pfsense has nothing to do with that traffic.
-
-
@wwdot_computers but that is outbound traffic - you would have to adjust your rules to allow for the traffic.. So you see that blocked.. By default default deny is logged.. So if your rules do not allow these to talk to something in the cloud, ie the internet then one of your rules is not allowing it.
Did you inherit this set of rules? I would assume someone that created all those would understand how to allow something else..
You say this is inbound
Inbound connectivity on the protected machine:
TCP port 25568 (for Datto Windows Agent service)I find it highly unlikely that some service you backup to in the cloud would need unsolicited inbound traffic from the internet to some machine behind pfsense.. But that would be a port forward.
-
@SteveITS
It was a joint effort? Under guidence I created the rules. However the person that helped is no longer able to do so. Long story.Would you suggest going back through the rules and starting over?
So the inbound connection:
Inbound connectivity on the protected machine:
TCP port 25568 (for Datto Windows Agent service)Is really outbound? How does that track? It seems that they are requesting an inbound connection?
-
@wwdot_computers see my edit.. I have never heard of some backup service to the cloud that would require you to open a port from the internet to your server your backing up - that makes no sense at all.
Unless you have turned off default deny logging that is logged, and your last reject rule is set to log - so if pfsense blocked something from it would be logged
-
Sorry wrong person
@johnpoz
It was a joint effort? Under guidance I created the rules. However, the person that helped is no longer able to do so. Long story.Would you suggest going back through the rules and starting over?
So the inbound connection:
Inbound connectivity on the protected machine:
TCP port 25568 (for Datto Windows Agent service)Is really outbound? How does that track? It seems that they are requesting an inbound connection?
How do I see the edit? New to the forum as well.
-
Here is the KB:
https://continuity.datto.com/help/Content/kb/siris-alto-nas/KB213994246.html -
@wwdot_computers said in Allowing random IP/PORT into LAN:
https://continuity.datto.com/help/Content/kb/siris-alto-nas/KB213994246.html
Datto runs on a backup device in the office and backs up PCs in the office. "on the protected machine" is each PC in the office.
-
No, I get what it is saying. We do not have the appliance though and each system has an agent installed on it. The agent talks back to the Datto cloud for backup.
I hope that I am making sense.
-
@wwdot_computers that screams the local firewall on the device your running that agent, not from the internet.. Since that makes zero sense at all that you would have to make
Here is a drawing on their site..
See the local network cloud.. This siris box talking to your protected box... So unless this box is on some other vlan in your local network than the protected machine.. There is no firewall rules needed in pfsense.. But the protected machines local host firewall would have to all that traffic.
-
@wwdot_computers said in Allowing random IP/PORT into LAN:
We do not have the appliance though and each system has an agent installed on it. The agent talks back to the Datto cloud for backup.
You linked the Datto BCDR backup which AFAIK is only via an on site device, either Alto or Sirus.
Do you have Endpoint Backup?
https://continuity.datto.com/help/Content/kb/EB/EB-GettingStarted.htm
(or others going down the left menu on that page) -
That is an inaccurate representation of our setup as we do not have a Siris box or any other for that mater. Each machine needs to connect to the internet directly for the backup. All of the machines are not able to connect, so I do not think it is a local machine firewall issue.
-
That is correct. We have the Datto Endpoint Backup
Endpoint Backup is our fully cloud-based backup and recovery solution for Windows Servers or PCs. You can leverage its features to restore single files or the entire backup image to a new device without any extra equipment required. Select a topic from the left navigation pane to continue.I am not sure why the tech support linked me that other link. Sorry, was just not looking. However, that being the case, still have the issue :(
-
@wwdot_computers said in Allowing random IP/PORT into LAN:
We have the Datto Endpoint Backup
ok so here
https://continuity.datto.com/help/Content/kb/DEBPC/360001005506.html
Getting Started with Datto Endpoint Backup for PCsWhere does it say anything about inbound?