server {
listen {
         ipaddr = 127.0.0.1
		 port = 1812
		 type = auth
}
listen {
        ipaddr = 127.0.0.1
		port = 1813
		type = acct
}
authorize {
	preprocess
	auth_log
	expiration
	logintime
    files
	perl
	pap
	chap
	mschap
	eap
}

authenticate {
	Auth-Type PAP {
		perl
	}

	Auth-Type CHAP {
		chap
		perl
	}
	
	Auth-Type MSCHAP {
		mschap
		perl
	}
	
	Auth-Type EAP {
		eap
                perl
        }	
}

preacct {
	preprocess
	acct_unique
	suffix
}

accounting {
	detail
	perl
	unix
	radutmp
	main_pool
}

session {
	radutmp
}

post-auth {
	exec
	main_pool
	Post-Auth-Type REJECT {
		attr_filter.access_reject
	}
}

pre-proxy {
}

post-proxy {
	eap
}
}
