Community discussions

 
User avatar
ViREnG
Member Candidate
Member Candidate
Topic Author
Posts: 217
Joined: Tue Aug 11, 2009 4:01 pm
Location: Yekaterinburg

Porwarding problem

Sun Dec 09, 2012 11:05 am

Hello friends
I Have a Mikrotik Router with an Public Static IP Address and can be see over the internet , IP: 47.56.20.6.
I have a Webserver on local network with IP 192.168.0.15 an can be see with mikrotik

I Want forward the port 80 to my Mikrotik Server on port 888 , mean when a client on outside my network try to Open 47.56.20.6:888 can see the web server page

I use below code , but don't work , where is problem ?
 0 ;;; Port-Forwarding
     chain=dstnat action=dst-nat to-addresses=192.168.0.15 to-ports=80 
     protocol=tcp dst-port=888 
 
rodolfo
Long time Member
Long time Member
Posts: 543
Joined: Sat Jul 05, 2008 11:50 am

Re: Porwarding problem

Sun Dec 09, 2012 1:32 pm

The correct rule could be:
 ;;; Port-Forwarding
     chain=dstnat action=dst-nat dst-address=47.56.20.60 to-addresses=192.168.0.15 to-ports=80 
     protocol=tcp dst-port=888 
Be shure:
1. from router you can ping 192.168.0.15
2. you have a masquerading rule
3. connection tracking activated
4. firewall filter dont block this post
rodolfo
IZ0UQV

Who is online

Users browsing this forum: Majestic-12 [Bot] and 34 guests