Community discussions

MikroTik App
 
mikb262
just joined
Topic Author
Posts: 20
Joined: Wed Oct 19, 2011 6:34 pm
Location: Attock City

redirect unpaid users to custom pages

Sat Feb 09, 2013 4:36 pm

1st sorry for my english
hi i need a way to redirect my unpaid users to my custom page
& i m using pppoe server with a Linux squid server
ether1 & ether2 on dsl with load balanc
ether3,4,5,6 r in added in bridge
also ether6 is on linux
& bridge is ppoe server
is it possible to redirect unpaid user to a custom designed page,
or after log in at 1st attempt of browsing they r redirected to my designed page for some time like 10 seconds
plz help
 
ronix
Member Candidate
Member Candidate
Posts: 151
Joined: Thu Nov 17, 2011 6:51 pm

Re: redirect unpaid users to custom pages

Sat Feb 09, 2013 5:33 pm

hi...

1st you need to give an ip to unpaid users differs from your local pool ips ...

put a pc with a privet ip differs from your local ips too hosting the sit of unpaid..

then redirect the unpaid users to this sit by a rule in NAT:

add action=dst-nat chain=dstnat comment="UNPAID USERS" disabled=no protocol=tcp src-address=a.a.a.a/24 to-addresses=b.b.b.b to-ports=80

where a.a.a.a is the unpaid users ips and b.b.b.b is the pc ip of unpaid page..
 
mikb262
just joined
Topic Author
Posts: 20
Joined: Wed Oct 19, 2011 6:34 pm
Location: Attock City

Re: redirect unpaid users to custom pages

Sat Feb 16, 2013 3:31 pm

my users ips is 119.155.70.0/24
& my every user have static ip (i give him)
is there a way to put web page in mikrotik file dir

Who is online

Users browsing this forum: almdandi, AndHe, herger, johnson73, KpuCko, patrikg and 129 guests