Hey! I’ve got a problem! I use V7.8 RouterOS. I’ve set up my router like 1 day ago. I use PPPoE and yes I have a static IP address.
I am trying to port forward port :3071 for a node js server, but it doesnt work I watched the tutorial for that I tried doing it the simple way and the firewall nat mannual way
I set it up to dstnat chain protocol 6 dst port 3071 In Interface list WAN ACtion dst-nat to address 192.168.88.243 where my pc is to port :3071 (Node.JS server running on port)
Also strange thing, when I have set it up with pppoe I had to use google DNS either it wouldn’t have let me find anything rather then just ping through cmd
A clue as to improper config… symbols and number in your rules where not applicable!!!
From: /interface list member
add list=LAN { empty entry you need to get rid of }
add interface=*F list=WAN
add interface=bridge1 list=LAN
add interface=ether1 list=WAN
add interface=*10 list=WAN
add interface=pppoe-out3 list=WAN
TO:
/interface list member add interface=pppoe-out3 list=WAN
add interface=ether1 list=WAN
add interface=bridge1 list=LAN
Remove netmask if you entered it, not required… /ip dhcp-server network
add address=192.168.88.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.88.1 netmask=24
Dst NAT RULE INCOMPLETE see addition in green! ( to- ports not required if same as dst port ) /ip firewall nat
add action=dst-nat chain=dstnat dst-port=3000 protocol=tcp in-interface=pppoe-out3 \ {edit fixed IP should be dst-address=staticWANip}
log=yes to-addresses=192.168.88.243
also when i try to remove /24 itgoes to /32 and kills my internet when I edit the in interface for DST thing it doesn’t send anything like it did like no packets no nothing
This site can’t be reached redactedIP refused to connect.
Another thing I realised is that when I try DHCP servers without DNS my internet dies / cant reach NS of google maybe but can ping via cmd
1.Okay so when I remove /24 it automakes it /32
2.also if I use DHCP server without DNS it doesnt work I can just ping stuff via cmd
3. port forwarding doesnt work
Remove /24 from what you still havent stated that
ALso why are you removing dns-server entry???
My bad on dst port rule please adjust too ( I didnt hoist in that your wanip is fixed static )
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=3000 protocol=tcp dst-address=staticWAN-ip
log=yes to-addresses=192.168.88.243
This is what your entry should look like.
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,8.8.8.8
/ip dhcp-server network { no entry for netmask required }
add address=192.168.88.0/24 dns-server**=192.168.88.1** gateway=192.168.88.1
…
Bcs If I change the to address to my Public Ip / PPPoE address then it will route from dst address which is PPPoE address to pppoe address
also ye I tried my Lan ip in dst adress and gives no packets
Also refrencing any In. Interface such as Ether 1 pppoe 3 or bridge it just straight up doesnt send the packets back. (from what I know it should atleast send packets to know if it makes contact even if it’s not permited)
I’m getting confused with the multiple configs posted here. It doesn’t help that I was replying on a phone, making it difficult to tell which one is active at the moment. Sorry for adding more smoke than light.
All I can figure now is that what I take to be the current version of the dstnat rule:
…is referring to the literal string “wanip”, which the router doesn’t know how to look up. Either that needs to be a statically-assigned PPPoE public IP, or you need to refer to the interface instead:
I’m still new to mikrotik routers, also this is just to experiment with friends and to use as a VPN, I don’t intend to making it publicly available!
2.I tried with In. Interface making it pppoe3-out but nothing happens like literally no packets sent
Also sorry for my stupid responses but I’m new I wanted to try smth more complicated and understand how it works!