OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: click123 on March 19, 2023, 11:35:23 PM

Title: Problem with Port Forward or Routing
Post by: click123 on March 19, 2023, 11:35:23 PM
I have a FW setup as DHCP server, within the premise 5 devices connected and i have a ubiquity NANO M5 for long distance Wireless connection, on the other premise another 5 devices are connected.

Please see the image for clear understanding of the setup

I forwarded the ports to few PC's/Devices

Port 1111 forwarded to PC-1, working fine (Local/Remote)
Port 2222 to PC-5 is working fine (Local/Remote)
Port 1112 to PC-6 is not working for remote but working fine for Local
Port 2223 to PC-10 is not working for remote but working fine for Local

I tried the Ping/Trace Route options from the "Interfaces => Diagnostics => Ping/Trace Route" from PC-6 to PC-10 Failed,  but if i try the ping/tracrt from local PC-1 to PC-10 or vice/versa working.

I cannot figure out the blockage, the packets are being sent but getting dropped somewhere,
I can ping and browse the interface of both the Ubiquity devices but unable to ping to the devices beyond Ubiquity 2 (Receiver) from PC-6 to PC-10

how the PC-1 can Ping to PC-10 while i cannot ping to PC-10 directly from remote via port forwarded ?
Title: Re: Problem with Port Forward or Routing
Post by: axsdenied on March 20, 2023, 03:22:39 PM
Doesn't seem like an OPNsense issue but rather how your nano's are routing:  Check this post here:

https://community.ui.com/questions/Connecting-two-seperate-networks-with-Nanostation-M5/708a0584-e210-4282-8fff-ff7b508c33f9
Title: Re: Problem with Port Forward or Routing
Post by: click123 on March 20, 2023, 04:05:04 PM
Thank you for the reply !
I tried the simple router of ASUS it was working fine both sides (Local/Remote) without any configuration on the router or NANO devices. 
Therefore i believe the problem reside in OPNsense configuration.
Any suggestion to trace the IP packets ?


FYI: The nano is forwarding DHCP from OPNSense, it does not act as DHCP server for any side.
Title: Re: Problem with Port Forward or Routing
Post by: axsdenied on March 22, 2023, 07:42:21 PM
I'm assuming that in your configuration within OPNsense is just a flat network?  And when you switched to the asus router, there were NO other changes to configuration of anything on the network?