i have windows aplication that use internet connection to server, i want to reroute back connection application to my internal local server by using microtik, example:
application -------> 75.33.xx.xx
i'ts possible to change the connection?
application -------> microtik ---XXXX---> real server
|
|
|---------------> fake/local server
we used two public addresses, one for mapped public to local, and other for RDP windows local application over anywhere.
;;; from public to local one
chain=dstnat dst-address=[our_public_address] action=dst-nat to-addresses=[our_apache_address] to-ports=0-65535
;;; the local one talking to router
chain=srcnat src-address=[our_apache_address] action=src-nat to-addresses=[our_public_address] to-ports=0-65535
sorry but i want to redirect application ip to my local ip, not redirect our public ip, sorry if i wrong, thx
add chain=dstnat dst-address=[real server ip application] protocol=tcp action=dst-nat \
to-addresses=[fake server ip application] to-ports=0-65535 comment="" disabled=no