Static IP assignment with PAM authentication
Posted: Sun May 13, 2012 10:10 pm
Is it possible?
- I have disabled client-cert auth and only would like to use username/password. Created a ccd directory and new file "user"
in the user file i added:
However, it does not work - still getting it dynamically from the pool.
My objective is to see client usage. By assigning static IP to user - then i could use ip-tables or tc to throttle once they hit certain number. Any better ideas?
Any help would be appreciated.
Thanks!
- I have disabled client-cert auth and only would like to use username/password. Created a ccd directory and new file "user"
in the user file i added:
Code: Select all
ifconfig-push 10.8.0.50 255.255.255.0
My objective is to see client usage. By assigning static IP to user - then i could use ip-tables or tc to throttle once they hit certain number. Any better ideas?
Any help would be appreciated.
Thanks!