Community discussions

MikroTik App
 
User avatar
camg
newbie
Topic Author
Posts: 29
Joined: Sun Aug 29, 2021 2:37 pm

Hello, I have a question about port mapping and need to ask

Tue Nov 01, 2022 6:51 pm

Below is the configuration to turn off port forwarding:
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; NAT
chain=srcnat action=masquerade log=no log-prefix=""

1 ;;; win2016
chain=dstnat action=dst-nat to-addresses=223.255.255.12 to-ports=3389
protocol=tcp in-interface=all-ethernet dst-port=3389 log=no log-prefix=""

2 chain=dstnat action=dst-nat to-addresses=192.168.88.13 protocol=tcp
in-interface=all-ethernet dst-port=80 log=no log-prefix=""
[admin@MikroTik] /ip firewall nat>

I don't understand a bit. When in-interface=all-ethernet is selected, if all-ethernet is replaced by in-interface=pppoe1, the forwarding cannot be successful. Directly invalid, what is the reason? ROS version is CHRx86_64 v6.49.7.Trouble the engineer teacher to point out the reason for this
 
User avatar
camg
newbie
Topic Author
Posts: 29
Joined: Sun Aug 29, 2021 2:37 pm

Re: Hello, I have a question about port mapping and need to ask

Tue Nov 01, 2022 6:52 pm

According to the official manual, the pppoe option is selected, but it has no effect
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: Hello, I have a question about port mapping and need to ask

Tue Nov 01, 2022 7:22 pm

So what exactly do you want to achieve? Explain in plain words ...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19325
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Hello, I have a question about port mapping and need to ask

Tue Nov 01, 2022 9:38 pm

As noted, what is the requirement in terms of user traffic.
Trying to talk it but using config speak when you dont really understand MT rules is just confusing. ( lack of port mapping knowledge is the tip of the ieceburg and the config is ususally integrated with other functionality and needs to be understood within the greater context)

Also other things help..
a. Network diagram
b. /export file=anynameyouwish (minus router serial number and any public WANIP info)

Who is online

Users browsing this forum: Bing [Bot] and 22 guests