Community discussions

MikroTik App
 
nmehr
just joined
Topic Author
Posts: 3
Joined: Tue Jan 03, 2017 12:10 pm

config public ip in mikrotik for server

Tue Jan 03, 2017 12:44 pm

hello
i have a public ip- mikrotik switch and a server.
i want to see my server from home.
i nat my public ip like this picture. but when i browse public ip i cant see my server. please help me
Image
Last edited by nmehr on Wed Jan 04, 2017 6:42 am, edited 1 time in total.
 
Revelation
Member
Member
Posts: 336
Joined: Fri Dec 25, 2015 5:59 am

Re: config public ip in mikrotik for server

Tue Jan 03, 2017 9:24 pm

There is no picture attached.

I assume you want to connect to your server attached to your network behind your Mikrotik. You can accomplish this two ways:

Setup a destination nat (I don't recommend in this case - not enough info provided) I would use this option for a webserver or other types of hosted services.

Setup a VPN on your Mikrotik. This will allow you a secure connection to remotely connect to your home network and then you can access the server as if you were at home.
 
nmehr
just joined
Topic Author
Posts: 3
Joined: Tue Jan 03, 2017 12:10 pm

Re: config public ip in mikrotik for server

Wed Jan 04, 2017 6:43 am

http://s4.img7.ir/Fcix6.png
this is my picture
 
rkau045
newbie
Posts: 45
Joined: Mon Jun 25, 2012 9:14 pm

Re: config public ip in mikrotik for server

Wed Jan 04, 2017 7:08 am

You may want to change the action to dst-nat in that rule. Also, I would limit it to only the protocols and ports that have services listening on them (tcp/80,443 on a web server, etc.)

Sent from my LG-D850 using Tapatalk
 
nmehr
just joined
Topic Author
Posts: 3
Joined: Tue Jan 03, 2017 12:10 pm

Re: config public ip in mikrotik for server

Wed Jan 04, 2017 9:48 am

You may want to change the action to dst-nat in that rule. Also, I would limit it to only the protocols and ports that have services listening on them (tcp/80,443 on a web server, etc.)

Sent from my LG-D850 using Tapatalk
no this slution dont work
 
solukyuz
just joined
Posts: 17
Joined: Thu Mar 24, 2016 10:42 pm

Re: config public ip in mikrotik for server

Thu Jan 05, 2017 1:57 pm

Hi friend,
Please follow this ; Firstly You have to know which port you need to open. For HTTP (80) please do following configuration. You can change ports number to connect ssh or telnet or any service you want. Now you can access to http of your server. http://publicip:33000
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: synchro and 15 guests