Hi.
Almost newbe to routeros.
Have 6.31 on a RB2011.
A client has to access my printer from internet and it works, but, someone is scanning my ip and port so the printer prints a lot of rubbish.
I can change the standard port to something else but they may scan that port as well.
So, the ip address from the client is required to print but it is dynamic but only the last number, 1-254, the 3 first numbers are always the same, 123.234.345.???.
How do I implement that in my nat?
add action=dst-nat chain=dstnat comment=Printer dst-port=9100 in-interface=ether1-gateway protocol=tcp to-addresses=192.168.1.10 to-ports=9100
/Kurre
src= 123.234.345.0/24
Did not work.
value of range cannot contain ‘.’ character, start and end values should be separated by ‘-’
/Kurre
Ok, Just noticed. Because you have an error 345 is not a valid number in IP address ![]()
src-address did it, tanks.
/Kurre