Community discussions

MikroTik App
 
tuxtlequino
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Tue Feb 16, 2016 12:46 am

Cannot connect to network while inside.

Wed Mar 16, 2016 6:54 am

I have a service in a server inside a VLAN, and I use a dsnat rule to connect to it from the outside. It works when one is outside, but if I use the Domain name while inside the LAN, I cannot connect to it. Any ideas how to do it? Here is my dsnat rule.
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=443 in-interface=ether8 protocol=tcp to-addresses=192.168.1.10 to-ports=443
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Wed Mar 16, 2016 7:28 am

 
tuxtlequino
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Tue Feb 16, 2016 12:46 am

Re: Cannot connect to network while inside.

Wed Mar 16, 2016 8:24 am

Jarda, thank you for the clue, but I cannot get it to work. I think I followed the directions, and I have tried several variations, this is what I put,
/ip firewall nat
add action=masquerade chain=srcnat dst-address=192.168.1.10 dst-port=443 out-interface=VLAN10-Work protocol=tcp src-address=192.168.1.0/24
Any other clues?

Who is online

Users browsing this forum: Adephx, lurker888 and 39 guests