Community discussions

 
kokaKorina
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Wed Oct 31, 2018 5:07 pm

direct traffic from one subnet to html page

Mon Mar 04, 2019 11:27 pm

Hello everyone
is there anyway for directing all traffic from one subnet to html page that is saved inside the mikrotik. I am trying to put some pppoe customers that are not paying bill to go to the html page . I tried using hotspot but it is not working and in firewall rules I could not find the option for html.page
Thanks
 
christopherh
newbie
Posts: 29
Joined: Sun Feb 24, 2019 7:43 am
Location: Sydney, Australia

Re: direct traffic from one subnet to html page

Tue Mar 05, 2019 6:35 am

Hello,

You could use something like this:
/ip firewall nat
add chain=dstnat src-address=<IP-PREFIX> protocol=tcp action=dst-nat to-addresses=webserver_ip to-ports=80
Regards,
Christopher H.
 
kokaKorina
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Wed Oct 31, 2018 5:07 pm

Re: direct traffic from one subnet to html page

Tue Mar 05, 2019 4:15 pm

Christopher H
Thanks for replying but is it possible that html page is saved in local mikrotik files and directed towards it
 
kokaKorina
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 77
Joined: Wed Oct 31, 2018 5:07 pm

Re: direct traffic from one subnet to html page

Tue Mar 05, 2019 10:22 pm

anyone?

Who is online

Users browsing this forum: No registered users and 25 guests