> Ok, I am updating my question. > I tried to make vpn work with inner-tunnel and it works via mysql without > any problems. > As i understand ms-chap asks the username to mysql. > > So, how can i use perl script instead of using mysql to authenticate??? "Just" translate rlm_mysql code to perl. Ivan Kalik