Ok, first of, I am very sorry for posting this question since you probably awnsered this one a million times before.
I have been plowing through the manual and this forum now for the last three days and I simply cannot find an awnser, or atleast an awnser that I can understand as a total mikrotik newbie.
See i got my router from my ISP since it enables me to connect to a wireless network through out the valley.
I got several PC behind the router, so ofcourse I have DHCP enabled on the router. (router internal ip is 192.168.2.1)
Now I need to open and forward ports to several PC’s for different reasons.
FTP and Torrent server on 192.168.2.252
Gameserver on 192.168.2.253
Workstation on 192.168.2.254
I use the winbox program to communicate with the router and I do understand SOME of it… but the whole forwarding section remains a mystery to me.
I have a similar issue - the 1st rule forwards great, but then I obviously can’t get into router remotely, so I’ve tried adding rules to forward port 8291 (winbox) to the private side IP.
Here are the three rules… Masquerade, then the remote desktop, then finally one to allow me to get into router through winbox from outside. This is my home router…
I’ve been battling with this for some time also.
Can you post an export of the rules that you used to fix the problem?
this is what I’ve got and it wont work either.
25 port number does not forward Telnet traffic.
25 port forwards SMTP traffic, if you want to set redirection for Telnet session, then use port 23 (default port number for the Telnet).
Hi Sergejs, It is intended for smtp traffic, but I use telnet to port 25 to test that the mailserver can respond. Will this export that I posted earlier work for smtp?
DST-NAT changes dst-address of the packet, these rule actually directs packets destined to 193.220.217.78 to 192.168.0.1.
You need to add SRC-NAT rule that will redirect 25 port traffic from 192.168.0.1 to 193.220.217.78
Packets sended from 192.168.0.1 will have 193.220.217.78 src-address.
see the latest try, it still does not accept incoming mails although I’m able to send outgoing smtp.
I have a mailserver on private ip 192.168.0.1, the public ip is 193.x.x.78 i want the mailserver on the private ip to be able to send and receive public smtp and pop emails.
[admin@WAHGICP] ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=wan action=masquerade