Community discussions

 
srikanth418
newbie
Topic Author
Posts: 32
Joined: Mon Mar 07, 2005 9:46 pm

PPPoE with Walled Garden

Thu Feb 04, 2016 12:55 pm

Hello Everyone,

I am looking for a solution for my PPPoE customers where expired users can be able to access the Bank Sites for Payments. I can only do it with hotspot users but not PPPoE users. I suggest a workaround and can you people please suggest if following topology works.

Currently I configured Mt Radius server as well as CCR - PPPoe Server that all my active users will get 172.16.xx.xx pool for browsing and expired users will get 192.168.xx.xx pool where I am redirecting them to a web server where they were only informed that connection is expired.
Active Users Ip Pool : 172.16.XX.XX
Expired Users IP Pool: 192.168.xx.xx

Now I want to implement policy based routing in PPPoE Server and I would like to send all my expired users to other CCR where there is only hotspot is configured with walled garden where I am expecting all my 192.168.xx.xx traffic will be passing through Hotspot server and hit the walled garden. All my bank sites are allowed in that walled garden. Somebody please suggest me if this topology works ???
You do not have the required permissions to view the files attached to this post.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4048
Joined: Wed May 11, 2011 6:08 pm

Re: PPPoE with Walled Garden

Thu Feb 04, 2016 3:22 pm

The CCR will of course need a static route to 192.168.x.x via the PPPoE server.

Make a mangle table rule in the prerouting chain that if the src-address is 192.168.0.0/16 then action=mark-routing new-routing-mark=expired
Add a default GW route with mark=expired and next-hop = CCR. Also whatever IP network is between the pppoe server and the CCR, you will need to add that network as a static route in "expired" routing table also (gateway=ether4 or whatever interface it is on)

That should do the trick.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
kraker
Frequent Visitor
Frequent Visitor
Posts: 88
Joined: Thu Aug 02, 2012 9:34 am

Re: PPPoE with Walled Garden

Thu Feb 11, 2016 5:03 pm

 
srikanth418
newbie
Topic Author
Posts: 32
Joined: Mon Mar 07, 2005 9:46 pm

Re: PPPoE with Walled Garden

Wed Feb 24, 2016 12:29 pm

Thanks for your reply. I am on my way to implement it.

Who is online

Users browsing this forum: No registered users and 65 guests