Issues with Subnet behind UDM Pro
-
@viragomann said in Issues with Subnet behind UDM Pro:
@misinthe
There is no special VPN interface needed for your purposes.What is about filter rule on the UDM? Don't you know, how to configure it?
You obviously cannot get from the UDM WAN to its LAN. So you may have to allow it.For testing again, you can connect a PC to the UDMs WAN 10.20.0.0/24. Configure its network interface IP manually and set the UDMs WAN IP as gateway. Then check if you can access a device in the UDMs LAN.
From all you wrote here, I assume, you will not be able to. So the UDM blocks the access and there is nothing you can do on pfSense to resolve this.That's what I was thinking, The UDMP has to be blocking something, but I've added a rule on Internet In, Internet Local, LAN In and LAN Local to allow traffic coming from 10.20.50.0 and it still won't work.
-
@misinthe said in Issues with Subnet behind UDM Pro:
but I've added a rule on Internet In, Internet Local, LAN In and LAN Local to allow traffic coming from 10.20.50.0 and it still won't work
Not even from 10.20.50.0/24 like ping from pfSense?
Consider that access from the VPN client has an IP out of its tunnel network pool as source, so it's from outside of 10.20.50.0/24 and won't be covered by this rule.
However, I'm still suspecting that the LAN PC is blocking access from outside. To check this out, allow another subnet behind the UDM to access the LAN and try to access from a device within this subnet.
-
@viragomann, I can't even ping the 10.10.0.0/24 from the pfSense LAN.
Everything within the UDM works fine, I have 4 different subnets and they work, I also had an L2TP VPN set on it before I added the pfSense to my setup and it worked fine.
-
@misinthe said in Issues with Subnet behind UDM Pro:
Everything within the UDM works fine, I have 4 different subnets and they work,
You want to say, all subnets have internet access, I guess.
But can you access the main LAN from any other subnet across the UDM? -
@viragomann Well, I have rules to block my IoT and NoT from my main LAN, to be a bit safer.
I've also added this to static routes.
And this rule
And this
I'm not sure what else I can try.
-
@misinthe
You must not state a source port in the rule!
The port has to be "any". It can be any from 1024 to 65535.BTW: a route for the pfLAN might be useless, since the network is attached to the UDM directly.
-
@viragomann Okay, I changed the rule to this, and removed the pfLAN route. (I just added it to see if it would work).
It still won't allow traffic through though.
-
@misinthe
Okay. Now you should do some investigations by testing access from another network on the UDM as I suggested already. You can add a temporary rule to allow access from a specific device or better allow any and remove other devices temporarly.Alternatively you can sniff the traffic on the UDM main LAN and WAN interface while you ping the LAN from a VPN IP to see where it stucks.
As the UDM Pro is a router it should offer you this option, but I don't know.
Otherwise you won't get any further here, I'm afraid. -
@misinthe said in Issues with Subnet behind UDM Pro:
I am not sure about this one, how can I verify this?
If your 2 Router are connected in the same Lan Then, your problem is that it does not allow access between pfsense wan and UDM PRO.
That is why I ask you what is the wan IP of your pfsense and your UDM Pro, so it is seen in this publication that your Pfsense and UDM use IP RFC IN WAN.
-IF I'M RIGHT, THEN UNTIL NOW EVERYTHING @viragomann SUGGESTS IS WRONG.
-
@silence @viragomann
This might help you understand my network.
-
@misinthe
Yes, that's what I got from your description. -
@misinthe, it's just as i thought.
-
@viragomann @Silence Man, doing all this testing messed my pfSense up, now it won't boot up, so I just deleted the VM, I don't know if I'll rebuild it or if I'll just remove it from the equation and just add a piHole VM to the network.
-
@misinthe There are many ways to solve your problem here.
Now my suggestion is the following:
in my case I create the vlan in Pfsense and only use the UDM PRO FOR SWICTH
In this way when connecting via openvpn to your pfsense and everything will be Ok.
-If you decide to continue doing routing in pfsense and Routing in DM PRO then the suggestion is to start cleaning the openvpn configuration is wrong and static routes in pfsense.
rule in wan for your UDM PRO and with that everything should work without problem.
-
@misinthe said in Issues with Subnet behind UDM Pro:
Man, doing all this testing messed my pfSense up, now it won't boot up, so I just deleted the VM, I don't know if I'll rebuild it or if I'll just remove it from the equation and just add a piHole VM to the network.
wtf, So if I delete his pfsense how does he have access to the internet?
what is the ip of your computer?
-
@silence said in Issues with Subnet behind UDM Pro:
@misinthe said in Issues with Subnet behind UDM Pro:
Man, doing all this testing messed my pfSense up, now it won't boot up, so I just deleted the VM, I don't know if I'll rebuild it or if I'll just remove it from the equation and just add a piHole VM to the network.
wtf, So if I delete his pfsense how does he have access to the internet?
what is the ip of your computer?
I just connected my ISP directly to the WAN port of the UDM Pro, the pfSense was acting mainly just for pfBlocker, DHCP is controlled by the UDMP and DNS is controlled by my Domain Controller, I only had to redirect that Domain Controller to the UDMP and that's it.
-
@misinthe
I'm sorry, I have no idea what you could have done wrong here.
I didn't told you to do any changes on pfSense apart from the route a week ago.
But now we got news, it was a VM. Would maybe worth to mention.Anyway your setup seem quite simple. So no idea, why this should not work, just some networking. Router should be able to do this.
-
@viragomann It's okay, I don't know why it being a VM would've changed anything? And what I did was shut it down to give it 2 more cores and 4GB more of RAM because I noticed it was about to be maxed, then it didn't come back up. Like I said, my LAN is all within the UDM Pro, so I'm not too worried about it, the only thing I really lost was pfBlockerNG and the DMZ, but I can create a DMZ network on the UDM Pro pretty easy, and like I said, I can just add a piHole VM to act as the pfBlockerNG .
-
@misinthe said in Issues with Subnet behind UDM Pro:
I don't know why it being a VM would've changed anything?
Because the hypervisor comes into play and may take affect on the networking.
But yes, there should be no need to have 2 firewalls normally, but it should be possible though.
-
@viragomann Well, my VM Host has 3 x 4Ports NIC Cards, so what I did was assign 3 physical ports to the pfSense, one for each WAN, LAN, and Opt1. That way it didn't use the virtual NIC.