Community discussions

MikroTik App
 
lapkis
just joined
Topic Author
Posts: 5
Joined: Fri Dec 05, 2008 12:11 pm

Port forwarding problem

Fri Dec 05, 2008 12:23 pm

I have mikrotik oruter RB433 with OS 3.16.
I have enabled NAT masquarading
Now I need forward ports from external IP to internal servers I need to forward web, rdp and ftp

I have it done forwarding through dst-nat
Chain: dstnat
DST address: 193.x.y.80
DST port: 80
In. Interface: wan
Action: dst-nat
To.adress:192.168.0.5
To.port: 80

Evrything is ok when connecting to web server from outside IP, but when connecting to web server onto external IP from internal IP thereis now connection, but if connecting from internal IP to 192.168.0.5 evrything is ok.
Where is my mistake?
 
User avatar
Letni
Member
Member
Posts: 376
Joined: Tue Dec 05, 2006 5:16 am
Location: South Carolina

Re: Port forwarding problem

Sun Dec 07, 2008 1:34 am

have you tried excluding your internal range from the port forward rule.
Try adding something like this to your rule. src-address=!192.168.1.0/24

-Louis
 
lapkis
just joined
Topic Author
Posts: 5
Joined: Fri Dec 05, 2008 12:11 pm

Re: Port forwarding problem

Sun Dec 07, 2008 11:53 am

Letni Tank you for advice but this didn't helped me.
I tryed to mention !192.168.0.0/24 in the Src.address.list and exact internal IP in src.address but it didn't worked.
 
lapkis
just joined
Topic Author
Posts: 5
Joined: Fri Dec 05, 2008 12:11 pm

Re: Port forwarding problem

Wed Dec 10, 2008 10:48 pm

Does anyone has an idea that will help me?
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Port forwarding problem

Wed Dec 10, 2008 11:49 pm

Who is online

Users browsing this forum: friend2809, toffline, zdiv and 35 guests