User Manager/PPP Example: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
=== PPP server configuration ===
=== PPP server configuration ===


* First, add PPPoE server to the local interface:
* First, add PPPoE server to the local interface, remember that User Manager server only supports PAP and CHAP authentication methods:
   / interface pppoe-server server add interface=ether1 service-name=MikroTik one-session-per-host=yes disabled=no
   / interface pppoe-server server add interface=ether1 service-name=MikroTik one-session-per-host=yes disabled=no authentication=chap,pap
 
* Specify to use User Manager for PPPoE clients:
  / ppp aaa set use-radius=yes
 
* Set IP address of the PPPoE server, IP address might not be assigned to the interface of PPPoE server. Moreover static IP address is not recommended to use static IP addresses or DHCP on the same interfaces as PPPoE for security reasons. Non-PPPoE clients will not connect to the outer networks.
  / ppp set default local-address=192.168.240.1
 
TODO
TODO
=== PPP client configuration ===
=== PPP client configuration ===



Revision as of 19:20, 1 November 2006

Introduction

User Manager might be used as remote authentication, authorization and accounting server for PPP clients Note, only PAP and CHAP authentication methods supported by User Manager now. Let's consider configuration steps for PPP and User Manager routers.

PPP configuration

We consider PPPoE server <-> PPPoE client configuration example, when PPPoE server uses remote User Manager database for PPPoE clients authentication, authorization and accounting.

TODO

PPP server configuration

  • First, add PPPoE server to the local interface, remember that User Manager server only supports PAP and CHAP authentication methods:
 / interface pppoe-server server add interface=ether1 service-name=MikroTik one-session-per-host=yes disabled=no authentication=chap,pap
  • Specify to use User Manager for PPPoE clients:
 / ppp aaa set use-radius=yes
  • Set IP address of the PPPoE server, IP address might not be assigned to the interface of PPPoE server. Moreover static IP address is not recommended to use static IP addresses or DHCP on the same interfaces as PPPoE for security reasons. Non-PPPoE clients will not connect to the outer networks.
 / ppp set default local-address=192.168.240.1

TODO

PPP client configuration

TODO

User Manager configuration

TODO