Community discussions

MikroTik App
 
rpenchev
just joined
Topic Author
Posts: 2
Joined: Thu Apr 07, 2022 1:30 am

When open port all local traffic is down

Thu Apr 07, 2022 1:42 am

I'm new to RouterOS, but i like it.
Today I have one very strange problem:
When i open port 80 or 443 all local internet access stop.
Opened ports work and content. Add a simple web server and Its load from other devices and networks or with mobile data or with VPN, but local internet access stop.

It's very strange because if I'm connected true VPN it's okay i have internet access.
But if i disconnect VPN then i have no internet access.

I open port with this command:
/ip firewall nat add chain=dstnat dst-port=80 action=dst-nat protocol=tcp to-address=192.168.0.74 to-port=80

When i disable this NAT Rule, all its fine and works good.

Some advice where i can search problem or any help. I cant solve this problem 2 days :D
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: When open port all local traffic is down

Fri Apr 08, 2022 9:49 pm

first, a network diagram always help what you are trying to convey,
The other necessity is seeing the config
/export hide-sensitive file=anynameyouwish

Just ensure any public IP, or public gateway IPs are not shown (put xx.xxx )
 
patrick7
Member
Member
Posts: 343
Joined: Sat Jul 20, 2013 2:40 pm

Re: When open port all local traffic is down

Fri Apr 08, 2022 9:54 pm

You are natting ALL port 443/80 traffic to 192.168.0.74 (yes, including "the whole internet"). Set dst-address to your wan ip, or use dst-address-type=local
 
rpenchev
just joined
Topic Author
Posts: 2
Joined: Thu Apr 07, 2022 1:30 am

Re: When open port all local traffic is down

Sat Apr 09, 2022 2:44 pm

Thanks all,
i fixed it when i add "In. Interface ether1" and now works as i want.

Who is online

Users browsing this forum: No registered users and 16 guests