Community discussions

MikroTik App
 
User avatar
dnikms
just joined
Topic Author
Posts: 14
Joined: Fri Jun 25, 2021 5:18 pm

[SOLVED] NAT'ing LAN > VPS

Wed Aug 04, 2021 12:49 am

Hello,

I have set up Zabbix server at home on my raspberry pi and I have a server on VPS also. I want to monitor my VPS server on my local Zabbix server.
I would like to NAT my Zabbix server 10.0.x.x and my VPS server 45.76.x.x
I have tried dstnat but no success.

add action=dst-nat chain=dstnat comment="Zabbix Proxy" dst-port
=10050 in-interface=ether1 protocol=tcp to-addresses=10.0.x.x to-ports=10050
add action=dst-nat chain=dstnat comment="Zabbix Proxy" dst-port
=10050 in-interface=ether1 protocol=udp to-addresses=10.0.x.x to-ports=10050

Thanks for the help in advance![/b]

*Edit:
I tried to telnet on port 10050 from my VPS. I see that packages arrive on firewall but no connection established.

telnet 89.x.x.x(My public IP) 10050
Trying 89.x.x.x
Connected to 89.x.x.x
Connection closed by foreign host.

Who is online

Users browsing this forum: BrianTax, Google [Bot], johnson73, rplant and 71 guests