Routing

 View Only
last person joined: 23 hours ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  How to redirect subscriber to a specific URL by E router and radius server?

    Posted 07-16-2010 19:48

    Hi guys,

    I'm finding a way to authenticate pppoe user by radius, and restrict this user to only one URL he can visit.

     

    Now I configured a policy in E router, which will limit user to the only one ip destination, and configured the radius to pass an ingress-policy-name to the subscriber.  At this point I just fulfill part of my goal.

     

    I want this user to be redirect to the specific URL that I defined whatever they'll type in the URL address.

     

    Is there an attributes that I can use in the radius server? or how to configure it in E router? If this is not an option, the next-best option is how can I configure to let the subscriber receive an URL that would be the homepage or the first page when he opens the browser?

     

     Please help to find the solution! Thank you very much!


    #router
    #E


  • 2.  RE: How to redirect subscriber to a specific URL by E router and radius server?
    Best Answer

     
    Posted 08-04-2010 16:19

    Hi,

     

    It's possible to redirect subscriber to a specific URL on the E-Series router.

    To accomplish this, you need to:

     

    • create and attach to subscriber interface input policy with "exception http-redirect" action for the web traffic you want to redirect
    • add ip http redirectUrl either to subscriber profile or to subscriber interface
    • enable local http server

    This feature is described at strange location, but it's better to have it somewhere than not to have it at all:

    http://www.juniper.net/techpubs/en_US/junose11.1/information-products/topic-collections/broadband-access/id-83897.html#id-70769

    Usually subscriber is redirected to the self-service portal and after authorization the policy is changed and redirect is removed. In your case when the policy won't be changed, all web traffic would be constantly redirected.

     

    As for subscriber's homepage, you can configure BRAS to send PPPoE Active Discovery Message (PADM):

    host1(config-profile)#pppoe url http://www.relevanturl.com

    http://www.juniper.net/techpubs/en_US/junose11.1/information-products/topic-collections/swconfig-link/id-41093.html#id-41093

     

    HTH

     

    Sergii

    _____

    If it helped you, please accept as solution. Kudo would be cool if you think post deserves it.


    #E
    #JUNOSe
    #erx
    #HowtoconfigsubscribertoinstanceaservicesessionbyErouterandradiusserver