1# comment 2 3# Global section (by default, we start in global mode) 4global 5 6# Load handlers 7load-handler "sync-pppd.so" 8load-handler "cmd.so" 9 10# Bind address 11listen-port 1701 12 13# Configure the sync-pppd handler. You MUST have a "section sync-pppd" line 14# even if you don't set any options. 15section sync-pppd 16lns-pppd-opts "require-pap 10.0.0.1:10.0.0.2 lcp-echo-interval 30 lcp-echo-failure 6" 17lac-pppd-opts "user example name example noipdefault ipcp-accept-local ipcp-accept-remote lcp-echo-interval 30 lcp-echo-failure 6" 18 19# Peer section 20section peer 21peer 192.168.2.3 22secret s3cr3t 23port 1701 24lac-handler sync-pppd 25lns-handler sync-pppd 26hide-avps yes 27 28section peer 29peer 192.168.2.9 30# No secret - no authentication 31port 1701 32lac-handler sync-pppd 33lns-handler sync-pppd 34hide-avps no 35 36# Configure the cmd handler. You MUST have a "section cmd" line 37# even if you don't set any options. 38section cmd 39