Community discussions

MikroTik App
 
User avatar
Equis
Forum Veteran
Forum Veteran
Topic Author
Posts: 886
Joined: Mon Jun 06, 2005 6:48 am

Port Foward inside Network

Thu Mar 22, 2012 6:33 am

Hello

I have a port forward to a mail server inside a network.
the works fine when I am outside (on the wan interface) but from inside it will not work.

Can someone give me details on how to port forward to a webserver or mail server that will work inside or outside the network to a public IP?

so if I type the public IP inside or outside the internal network it will redirect back to the internal server.

Thanks
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: Port Foward inside Network

Thu Mar 22, 2012 8:48 am

It seems you need to masquerade such traffic: http://wiki.mikrotik.com/wiki/Hairpin_NAT
 
makkan
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Mon Jul 26, 2010 12:38 am

Re: Port Foward inside Network

Thu Mar 22, 2012 5:35 pm

typically - you don't do that. But if you really must do it then I suppose you should be able to do a src-nat translation on incomming packets for your inside network port from public IP -> internal IP.
 
weber
just joined
Posts: 7
Joined: Sun Mar 25, 2012 9:18 pm
Location: Lviv, Ukraine

Re: Port Foward inside Network

Wed Mar 28, 2012 7:19 pm

kirshteins, thank you.
That was exactly what I am looking for already 2 days 8)

Who is online

Users browsing this forum: pyfgcrl, ShindigNZ and 128 guests