can anyone help me with this thing ? I tried some config but in not work fine.
Situation is, I need redirect one local IP to another when that IP tries to connect on our public IP
Example :
public IP : 10.0.0.1
client IP : 192.168.0.1
local IP where must be redirect : 192.168.0.2
I need : when client tries connect 192.168.0.1 → 10.0.0.1 I need redirect 192.168.0.1 → 10.0.0.1 - > 192.168.0.2, redirect must be 1:1 about ports (example : 10.0.0.1:111 → 192.168.0.2:111)
I hope its clear
do you need secure router or forward action?
with '/ip service' submenu for simple secure for your router
with '/ip firewall nat' you can do anything as you want from outsite connection to router and from internal to router too. or
with '/ip firewall filter' to make filtering your transport network
I need forward, but DSTNAT work but after short time connection is lost.
Joke is in one thing, I need this for friends what have game server in network, this server use only one UDP port and from internet is that port NATed to local IP , for example 10.0.0.1:10000 (udp) → 192.168.0.2:10000, for people from internet this server is working and no problem, problem is when someone for LAN for example 192.168.0.1 wants connect to this server, he making connection over central server what is placed on internet and when he connecting, central server returns Public IP, and client try connecting over own Public IP 192.168.0.1 → 10.0.0.1 and that of course not work. I only need make something like internal ,fake, redirect
This's sample rule config as 'redirect' to my-apple, we made all destination address to router 'redirect' to my-apple at local ip 86.47.17.6 and we made access my-apple from outsite [mapping from public to local] too, with other public ip.