I
I
IliaBrz2018-08-18 11:57:19
VPN
IliaBrz, 2018-08-18 11:57:19

How to forward port on Mikrotik vpn client?

There is a Web server on a gray IP and a Mikrotik router on a white IP. How can I redirect requests to the 8056th port of the router to redirect to that server? As I understand it, this is done through a VPN, but how?
Thank you for your reply

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TyzhSysAdmin, 2018-08-18
@POS_troi

1. Raise vpn on Mikrotik, connect the server, hit all requests to the address received by the server.
2. Buy a white IP from the provider and do not engage in perversions.

P
Pavel Okhlopkov, 2018-08-21
@opn1

if the Web server is behind Mikrotik in LAN, then ds-nat
add action=dst-nat chain=dstnat comment=WEB dst-address= WhiteIP dst-port=80 in-interface=ether1-gateway protocol=tcp to-addresses= IPWEBforNAT to-ports=80

J
Jan, 2018-08-23
@Buchachalo

Server on what? Before the server there is a router to which there is an access? Or a server in the cloud?
In any case, you need to raise the VPN between them. An interface will appear on Mikrotik behind which your server with a gray ip will hide. On Mikrotik do dst-nat 80 port on the server interface. In production!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question