RADIUSdesk

logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
technical:ppp-pppoe-basic [2023/10/15 05:48]
admin [Checking The Log File]
technical:ppp-pppoe-basic [2023/10/15 06:56] (current)
admin [Connecting a Client]
Line 39: Line 39:
 mtu=1400 mtu=1400
 mru=1400 mru=1400
-#accomp=deny 
-#pcomp=deny 
-#ccp=0 
-#mppe=require 
 ipv4=require ipv4=require
 ipv6=deny ipv6=deny
Line 49: Line 45:
 ipv6-accept-peer-intf-id=1 ipv6-accept-peer-intf-id=1
 lcp-echo-interval=20 lcp-echo-interval=20
-#lcp-echo-failure=3 
 lcp-echo-timeout=120 lcp-echo-timeout=120
 unit-cache=1 unit-cache=1
-#unit-preallocate=1 
  
 [pppoe] [pppoe]
 verbose=1 verbose=1
-#ac-name=xxx 
-#service-name=yyy 
-#pado-delay=0 
-#pado-delay=0,100:100,200:200,-1:500 
 called-sid=mac called-sid=mac
-#tr101=1 
-#padi-limit=0 
-#ip-pool=pppoe 
-#ipv6-pool=pppoe 
-#ipv6-pool-delegate=pppoe 
-#ifname=pppoe%d 
-#sid-uppercase=0 
-#vlan-mon=eth0,10-200 
-#vlan-timeout=60 
-#vlan-name=%I.%N 
-#interface=eth1,padi-limit=1000 
 interface=enp0s3 interface=enp0s3
  
Line 87: Line 66:
 dae-server=127.0.0.1:3799,testing123 dae-server=127.0.0.1:3799,testing123
 verbose=1 verbose=1
-#timeout=3 
-#max-try=3 
-#acct-timeout=120 
-#acct-delay-time=0 
-#acct-delay-start=0 
-#acct-on=0 
-acct-interim-interval=120 
-#acct-interim-jitter=0 
-#default-realm= 
-#strip-realm=0 
-#attr-tunnel-type=My-Tunnel-Type 
-#nas-port-id-in-req=1 
  
 [client-ip-range] [client-ip-range]
Line 106: Line 73:
 [ip-pool] [ip-pool]
 gw-ip-address=192.168.0.1 gw-ip-address=192.168.0.1
-#vendor=Cisco 
-##attr=Cisco-AVPair 
 attr=Framed-Pool attr=Framed-Pool
 192.168.0.2-255 192.168.0.2-255
Line 120: Line 85:
 log-emerg=/var/log/accel-ppp/emerg.log log-emerg=/var/log/accel-ppp/emerg.log
 log-fail-file=/var/log/accel-ppp/auth-fail.log log-fail-file=/var/log/accel-ppp/auth-fail.log
-#log-debug=/dev/stdout 
-#syslog=accel-pppd,daemon 
-#log-tcp=127.0.0.1:3000 
 copy=1 copy=1
-#color=1 
-#per-user-dir=per_user 
-#per-session-dir=per_session 
-#per-session=1 
 level=3 level=3
  
Line 133: Line 91:
 vendor=Mikrotik vendor=Mikrotik
 attr=Mikrotik-Rate-Limit attr=Mikrotik-Rate-Limit
-#rate-multiplier=10000 
-#attr=Filter-Id 
-#down-burst-factor=0.1 
-#up-burst-factor=1.0 
-#latency=50 
-#mpu=0 
-#mtu=0 
-#r2q=10 
-#quantum=1500 
-#moderate-quantum=1 
-#cburst=1534 
-#ifb=ifb0 
 up-limiter=police up-limiter=police
 down-limiter=tbf down-limiter=tbf
-#leaf-qdisc=sfq perturb 10 
-#leaf-qdisc=fq_codel [limit PACKETS] [flows NUMBER] [target TIME] [interval TIME] [quantum BYTES] [[no]ecn] 
-#rate-multiplier=1 
-#fwmark=1 
-#rate-limit=2048/1024 
-#attr-down=PPPD-Downstream-Speed-Limit 
-#attr-up=PPPD-Upstream-Speed-Limit 
 verbose=1 verbose=1
  
Line 160: Line 99:
 telnet=127.0.0.1:2000 telnet=127.0.0.1:2000
 tcp=127.0.0.1:2001 tcp=127.0.0.1:2001
-#password=123 
-#sessions-columns=ifname,username,ip,ip6,ip6-dp,type,state,uptime,uptime-raw,calling-sid,called-sid,sid,comp,inbound-if,service-name,rx-bytes,tx-bytes,rx-bytes-raw,tx-bytes-raw,rx-pkts,tx-pkts,netns,vrf 
  
 </file> </file>
Line 395: Line 332:
         option password 'testing123'         option password 'testing123'
 </code> </code>
-  * This device is connected onto the same network (broadcast domain) where our Accel-ppp server is running so the network packets will reach the PPPoE server.+  * This device has to be connected to the **same network** (broadcast domain) where our Accel-ppp server is running in order for the network packets to reach the PPPoE server.
  
 ===== Checking The Log File ===== ===== Checking The Log File =====