Documentation describes it, it is not very hard option,
‘ip firewall nat add action=dstnat chain=dst-nat dst-address=public_address_of_the_router dst-port=5060 protocol=tcp to-addresses=10.0.0.50’,
the same rule for UDP.
Hello, I’m trying do this to works with echolink software, but dosen’t work, I’m conect to an adsl line with mikrtik pppOe client and my public IP is dynamic so as public address assign 0.0.0.0/32 is this a mistake?, can you help me?, you can more details about echolink software on http://www.echolink.org.
Echolink software request tcp 5200 port and udp 5198 y 5199 ports,
my problem is that I want skip NAT of ADSL modem, else I have to NAT, DSL modem can works as bridge, and I need pppOe client on MIKROTIK.
Which dst-address I have configurate using PPPoE client on MIKROTIK?, y I chosse 0.0.0.0 dosen’t work, can you let me an example?, thank you very much.
You may specify the address for public interface, as traffic is appeared on this interface.
As well it is possible to run the configuration without dst-address, just forward ports for the packets appeared at the public interface.
sergejs, I can’t specify address on public interface becouse is a dynamic, however I test it but dosen’t work, I can understand why not run ok.
can you check if your suggest rules may be this?.
Is it possible to reach your router from the remote networks ?
Probably rules are not working because you are trying to connect to address that is dynamic (and already changed).
sergejs, thank you for feedback, the problem is only if I implement pppOe client, but only with echolink aplication, with emule for example that requier one tcp an udp port wroks fine.
Actualy I have a ADSL line from my ISP, and they give a modem/router zyzel that can operate on bridge mode or routing, the idea is eliminate router funtion becouse with this configuration there are two NATS, only port are forwarding correctly if modem works on router.
Yes I can navigate on all sites, use mail client programs, but only echolink soft dosen’t work if I implement PPPoE client on mikrotik over adsl modem in bridge mode.
Sorry for my possible mistakes I’m a benginner with mikrotik and think is a great tool.
These rules are looking fine to me,
5 chain=dstnat in-interface=ether2 protocol=tcp dst-port=5200 action=dst-nat
to-addresses=192.168.0.2 to-ports=5200
6 chain=dstnat in-interface=ether2 protocol=udp dst-port=5198-5199
action=dst-nat to-addresses=192.168.0.2 to-ports=5198-5199
If packet are arrived at Ether2 and 192.168.0.2 has software application that is listening for these ports.
Yes I can navigate on all sites, use mail client programs, but only echolink soft dosen’t work if I implement PPPoE client on >>mikrotik over adsl modem in bridge mode.
Hi there, I am also unable to get echolink software to work for one of my internet subscribers, they are on the other end of a 2.4ghz link. goes like this mikrotik - ubiquity AP - engenious 2610 (bridged) - router.
he has two of these links to his home.
I had the rules set for the customers assigned public IP to forward all traffic to his local ip at first (1-1 nat) but that stopped working after i upgraded from router OS 3.3 to 4.5 on my rb450g. I have now set these rules up:
scratch that, i said it stopped working when i upgraded from 3.30 to 4.5, I checked with the customer, it has not woked since we put the mikrotik router up in that site.
I cannot get port forwarding to work with ppp-client interface either? Modem in bridge mode>gives static public IP to mikrotik>everything works; except we cannot manage our devices on port 80 that live behind the customer interface. Works fine when not pppoe-client(i.e. ISP assigns static(cable, T1, etc); in this ex. use 192.x. as public: