Community discussions

MikroTik App
 
grmihel2
newbie
Topic Author
Posts: 30
Joined: Tue Jul 06, 2010 5:55 pm

NAT ain't working external

Fri Feb 17, 2012 3:03 am

Hi there,

I'm kinda lost on whats going on... It worked a while ago, but then after moving to another apartment, and adding som static DHCP IPs to some servers, I can't access my NAS from outside anymore :/
The NAS that I want to access has the Static DHCP ip: 192.168.8.10 (local ip)
Here's a print of my /ip firewall nat
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; Masquerade LAN
 7   chain=srcnat action=masquerade src-address=192.168.8.0/24 
 8   chain=srcnat action=masquerade src-address=192.168.9.0/24 

 9   ;;; NAS NAT
     chain=dstnat action=dst-nat to-addresses=192.168.8.10 to-ports=446 
     protocol=tcp dst-address=90.x.x.x dst-port=446 

11   ;;; NAS FTP
     chain=dstnat action=dst-nat to-addresses=192.168.8.10 to-ports=21 
     protocol=tcp dst-address=90.x.x.x dst-port=21 

13   ;;; RDP M-PC
     chain=dstnat action=dst-nat to-addresses=192.168.1.10 to-ports=3389 
     protocol=tcp dst-address=90.x.x.x dst-port=16811 
The wierd part is that the RDP M-PC works fine. The NATing for the NAS is only working internally (I have DNS pointing to my IP), can any1 see if anything should be wrong??
 
Engitech
Trainer
Trainer
Posts: 69
Joined: Mon Feb 13, 2012 1:59 pm
Location: Geneva - Switzerland
Contact:

Re: NAT ain't working external

Tue Feb 28, 2012 1:16 am

Are the pc and the nas on the same lan? They don't use the same subnet 192.168.8.x and 192.168.1.x. and you don't use masquerade for range 192.168.1.x. .
 
grmihel2
newbie
Topic Author
Posts: 30
Joined: Tue Jul 06, 2010 5:55 pm

Re: NAT ain't working external

Wed Feb 29, 2012 11:55 am

It seems to be some firewall rules I once disabled. Restored to an older backup to start from scrath, and it works now with any NAT rules that I make :)

Who is online

Users browsing this forum: FAB1150, Majestic-12 [Bot], Qanon and 222 guests