server default {
listen {
	type = auth
	ipaddr = *
	port = 1812
	limit {
	      max_connections = 16
	      lifetime = 0
	      idle_timeout = 30
	}
}

listen {
	type = acct
	ipaddr = *
	port = 1813
	limit {
	      max_connections = 16
	      lifetime = 0
	      idle_timeout = 30
	}
}

authorize {
	filter_username
	preprocess
	chap
	mschap
	digest
	pap
	eap {
		ok = return
	}
	sql
	expiration
	logintime
}

authenticate {
	Auth-Type PAP {
		pap
	}
	Auth-Type CHAP {
		chap
	}
	Auth-Type MS-CHAP {
		mschap
	}
	mschap
	eap
}

pre-proxy {
}

post-proxy {
	eap
}

accounting {
	detail
	sql
	exec
}

session {
	sql
}

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