Community discussions

MikroTik App
 
daitea
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Sun May 03, 2009 3:17 pm

How do i redirect clients to a page on the network

Wed May 06, 2009 6:03 pm

Hi All
i want to redirect my clients to a page either than the net if they are due to pay their monthly bills.
How do i do this without the client having internet access
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: How do i redirect clients to a page on the network

Thu May 07, 2009 9:47 am

with a nat rule. dst-nat with action dst-nat:
/ip firewall nat add chain=dstnat src-address=1.1.1.1 action=dst-nat to-addresses=192.168.0.109 
			
assuming 1.1.1.1 is the bad client, and 192.168.0.109 is your webserver
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Re: How do i redirect clients to a page on the network

Thu May 07, 2009 9:59 am

... and bad client cannot be in the same IP subnet as local web server where he is redirected to.
 
daitea
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Sun May 03, 2009 3:17 pm

Re: How do i redirect clients to a page on the network

Thu May 07, 2009 10:20 am

do i put this firewall command in the client's radio or the base station
 
doush
Long time Member
Long time Member
Posts: 665
Joined: Thu Jun 04, 2009 3:11 pm

Re: How do i redirect clients to a page on the network

Thu May 07, 2009 11:14 am

base station
 
daitea
Member Candidate
Member Candidate
Topic Author
Posts: 118
Joined: Sun May 03, 2009 3:17 pm

Re: How do i redirect clients to a page on the network

Thu May 07, 2009 12:44 pm

ok i will do that and get back to you
 
mysz0n
Member Candidate
Member Candidate
Posts: 137
Joined: Tue Mar 03, 2009 2:14 am

Re: How do i redirect clients to a page on the network

Wed May 27, 2009 12:21 pm

can i use ip pool instead od certain ip address?
i'd like to change ip pools in user manager via some php script.
or is there better way do do that ?

Who is online

Users browsing this forum: No registered users and 51 guests