Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15434

General • Re: Forward WAN port to another subnet/router LAN

$
0
0
Unfortunately, I'm still fighting with a problem.
To make sure packets incoming to <public-ip>:8124 are actually get routed and leave the MK router, I've added the following rule:
Code:
chain=postrouting action=passthrough protocol=tcp out-interface=wg1 dst-port=8123 log=yes log-prefix="+"
and yes, I see log entries for that rule. However, I'm not completely sure if this correct way to make sure packet leave the router :(

And another thought: looks like forwarded packages have my WAN IP as source IP address but this is unexpected for LAN-to-LAN wireguard tunnel.
Am I going to the right direction?

Thanks.

Statistics: Posted by Spaider — Wed Jan 17, 2024 7:41 pm



Viewing all articles
Browse latest Browse all 15434

Trending Articles