Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Pap and chap Authentication in PPP

Shulou Source: shulou.com Published: 2022-06-01 05:15:55 10月04日 Update

The experimental results show that there are two authentication methods in PPP: pap and chap, which can be used alone or in combination. And one-way authentication can be carried out as well as two-way authentication.

Pap verifies whether the remote user name and password match. Chap sends a challenge packet, and then the remote end uses md5 to calculate the user name and password of its own database and returns a value, and then verifies whether the value is consistent with the calculated value at the sender.

Basic configuration of the router:

Configure PAP authentication:

Verify PAP authentication

Configure CHAP authentication:

Verify CHAP:

Tags: Authentication authentication numerical value configuration password user name consistent one-way two-way basic configuration data database method end routing router lab Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Huawei MySQL Docker NVidia