Community discussions

MikroTik App
 
Julex
just joined
Topic Author
Posts: 2
Joined: Thu Jun 02, 2022 8:01 pm

Port Forwarding Issue

Thu Jun 02, 2022 8:18 pm

I've attempted several ways to port forward, and I've come up unsuccessful. Using quickset port mapping or manually adding had no effect. I've tried adding port firewall rules and disabling windows firewall, to see if that was the issue. When attempting the connection, I am getting packets received on the NAT rule. Firewall connections, does not show any active on the desired port on the local PC. Logging shows attempts to connect on port from outside.
Screenshot 2022-06-02 131725.png
Chain:dstnat
Protocol:tcp
Port:9876

Action:dst-nat
ToAddress:10.1.1.123
Port:9876

Wondering where my disconnect is.
You do not have the required permissions to view the files attached to this post.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Port Forwarding Issue

Thu Jun 02, 2022 9:36 pm

Probably on target device. You can check that packets really pass through router's firewall and also if there's any response coming back:
/ip firewall mangle
add chain=postrouting dst-address=10.1.1.123 protocol=tcp dst-port=9876 action=log log-prefix=request
add chain=prerouting src-address=10.1.1.123 protocol=tcp src-port=9876 action=log log-prefix=response
 
Julex
just joined
Topic Author
Posts: 2
Joined: Thu Jun 02, 2022 8:01 pm

Re: Port Forwarding Issue

Fri Jun 03, 2022 2:42 pm

Thanks Sob! It ended up needing a UDP connection. After using sysinternals, we were able to see the listening port was UDP.

Probably on target device. You can check that packets really pass through router's firewall and also if there's any response coming back:
/ip firewall mangle
add chain=postrouting dst-address=10.1.1.123 protocol=tcp dst-port=9876 action=log log-prefix=request
add chain=prerouting src-address=10.1.1.123 protocol=tcp src-port=9876 action=log log-prefix=response

Who is online

Users browsing this forum: Amazon [Bot] and 27 guests