#Tenant,ID,Contexts,FilterIDs,ActivationInterval,AttributeFilterIDs,Path,Type,Value,Blocker,Weight # PPPoE User Credentials for RADIUS PAP Authentication # # Format: Each user needs an attribute profile that: # 1. Matches on Account (username) # 2. Returns PasswordFromAttributes for PAP verification # 3. Optionally returns session parameters (IP, rate limits, timeout) # # The PasswordFromAttributes field will be retrieved by the RADIUS agent # and compared against the PAP-encoded password in the AccessRequest # ============================================================ # User: pppoe_user1 - Basic user with password only # ============================================================ cgrates.org,ATTR_PPPOE_USER1,*sessions,*string:~*req.Account:pppoe_user1,,,*req.PasswordFromAttributes,*constant,SecurePass123,false,10 # ============================================================ # User: pppoe_user2 - User with static IP assignment # ============================================================ cgrates.org,ATTR_PPPOE_USER2,*sessions,*string:~*req.Account:pppoe_user2,,,*req.PasswordFromAttributes,*constant,MyPassword456,false,10 cgrates.org,ATTR_PPPOE_USER2,,,,,*req.FramedIP,*constant,10.0.0.100,, # ============================================================ # User: pppoe_user3 - User with rate limiting (Mikrotik example) # ============================================================ cgrates.org,ATTR_PPPOE_USER3,*sessions,*string:~*req.Account:pppoe_user3,,,*req.PasswordFromAttributes,*constant,FastUser789,false,10 cgrates.org,ATTR_PPPOE_USER3,,,,,*req.FramedIP,*constant,10.0.0.101,, cgrates.org,ATTR_PPPOE_USER3,,,,,*req.RateLimit,*constant,10M/20M,, cgrates.org,ATTR_PPPOE_USER3,,,,,*req.SessionTimeout,*constant,86400,, # ============================================================ # User: pppoe_user4 - Premium user with higher limits # ============================================================ cgrates.org,ATTR_PPPOE_USER4,*sessions,*string:~*req.Account:pppoe_user4,,,*req.PasswordFromAttributes,*constant,PremiumPass!@#,false,10 cgrates.org,ATTR_PPPOE_USER4,,,,,*req.FramedIP,*constant,10.0.0.102,, cgrates.org,ATTR_PPPOE_USER4,,,,,*req.RateLimit,*constant,100M/100M,, cgrates.org,ATTR_PPPOE_USER4,,,,,*req.SessionTimeout,*constant,0,, # ============================================================ # User: test - Simple test user for quick verification # ============================================================ cgrates.org,ATTR_PPPOE_TEST,*sessions,*string:~*req.Account:test,,,*req.PasswordFromAttributes,*constant,test123,false,10