I have in firewall a filter roule, where I drop all packets to a ip adress
when the ip adresse try to connect, can I forward it to a web side.
if yes, I will like to see exampel how to do, where to edit in the filter roule
You are looking for destination nat. http://www.mikrotik.com/docs/ros/2.9/ip/nat
I am new at this sow, I need a exempel
I want to forward all drop ip adresse to a web side
example is in that link. is it so hard to click on it?
“normis” I have look at the link, but I have a problem, where do have to tell it, that all adresse is drop in filter rules have to be redirect
I can use Destination NAT to redirect, thats ok, but how to do it whit only ipadress where all is drop ![]()
I don’t understand the question at all. If you want to drop all traffic destined for a specific IP, you could do something like:
/ip firewall filter
add chain=forward dst-address=x.x.x.x/32 action=drop
Is that what you are looking for?
that part I have don, now I wil like to now how to redirect all the drop adresse
???
you already dropped them, you can’t redirect them anymore. drop means something like silently ignore the connection.
if you want to redirect certain requests, you don’t need drop at all. just DST-NAT, just like in the link .
Hello
I have try to do like in the example, to redirect user with ip 10.16.29.51
to ip adress 87.51.218.99 port 8667 to show a special web site
but it don’t work everytime, it don’t redirect, and it try to open the site the user have selectet. but end with “the server…”
Is there somthing I have miss ??
1 X ;;; Mangel betaling
chain=dstnat in-interface=Toldboden src-address=10.16.29.51
action=dst-nat to-addresses=87.51.218.99 to-ports=8667
Errr
Maybe you guys dont under stand EbeltoftsNet
chain=dstnat src-address=192.168.8.12 protocol=tcp dst-port=80 action=dst-nat to-addresses=10.0.1.34 to-ports=80
Above setting works for me just change IP addresses, but in your case you want users to go to some website on the internet and at the same time want to drop all other requests for websites… well Maybe you should make small http web server and make a html with content you want and drop all requests to the outer world and redirect them to local html page
…
I will like to redirect special user to a site on a web-server om the internet on port 8667, it don’t work every time ??
chain=dstnat src-address=10.16.29.50protocol=tcp dst-port=80 action=dst-nat to-addresses= 87.51.218.77 to-ports=8667
Tanks for your answer ![]()
well, have we helped or not??
Sorry ![]()
It works somtimes, it redirect fine, but next time the user logon, he get net ??