Столкнулся с такой проблемой. У меня настроен accel-ppp в виде связки ipoe + radius. Хочу сделать так, чтобы отдельным абонентам, которые получили IP-адрес от ipoe, также выдавались, например, публичные адреса при подключении по vpn. И здесь появляется проблема....
Code: Select all
[2015-04-22 12:58:32]: info: pptp: new connection from 10.240.10.2
[2015-04-22 12:58:32]: info: : recv [PPTP Start-Ctrl-Conn-Request <Version 1> <Framing 1> <Bearer 1> <Max-Chan 0>]
[2015-04-22 12:58:32]: info: : send [PPTP Start-Ctrl-Conn-Reply <Version 1> <Result 1> <Error 0> <Framing 3> <Bearer 3> <Max-Chan 1>]
[2015-04-22 12:58:32]: info: : recv [PPTP Outgoing-Call-Request <Call-ID c000> <Call-Serial 791f> <Min-BPS 300> <Max-BPS 100000000> <Bearer 3> <Framing 3> <Window-Size 64> <Delay 0>]
[2015-04-22 12:58:32]: info: : send [PPTP Outgoing-Call-Reply <Call-ID b> <Peer-Call-ID c000> <Result 1> <Error 0> <Cause 0> <Speed 100000000> <Window-Size 64> <Delay 0> <Channel 0>]
[2015-04-22 12:58:32]: debug: : lcp_layer_init
[2015-04-22 12:58:32]: debug: : auth_layer_init
[2015-04-22 12:58:32]: debug: : ccp_layer_init
[2015-04-22 12:58:32]: debug: : ipcp_layer_init
[2015-04-22 12:58:32]: debug: : ipv6cp_layer_init
[2015-04-22 12:58:32]: debug: : ppp establishing
[2015-04-22 12:58:32]: debug: : lcp_layer_start
[2015-04-22 12:58:32]: info: : recv [PPTP Set-Link-Info]
[2015-04-22 12:58:35]: debug: : fsm timeout 9
[2015-04-22 12:58:38]: debug: : fsm timeout 8
[2015-04-22 12:58:41]: debug: : fsm timeout 7
[2015-04-22 12:58:44]: debug: : fsm timeout 6
[2015-04-22 12:58:47]: debug: : fsm timeout 5
[2015-04-22 12:58:50]: debug: : fsm timeout 4
[2015-04-22 12:58:53]: debug: : fsm timeout 3
[2015-04-22 12:58:56]: debug: : fsm timeout 2
[2015-04-22 12:58:59]: debug: : fsm timeout 1
[2015-04-22 12:59:02]: debug: : fsm timeout 0
[2015-04-22 12:59:02]: debug: : lcp_layer_finished
[2015-04-22 12:59:02]: debug: : terminate
[2015-04-22 12:59:02]: debug: : lcp_layer_finish
[2015-04-22 12:59:02]: debug: : send [PPTP Echo-Request <Identifier 66334873>]
[2015-04-22 12:59:02]: debug: : lcp_layer_free
[2015-04-22 12:59:02]: debug: : auth_layer_free
[2015-04-22 12:59:02]: debug: : ccp_layer_free
[2015-04-22 12:59:02]: debug: : ipcp_layer_free
[2015-04-22 12:59:02]: debug: : ipv6cp_layer_free
[2015-04-22 12:59:02]: debug: : pptp: ppp finished
[2015-04-22 12:59:02]: info: : send [PPTP Call-Disconnect-Notify <Call-ID c0> <Result 3> <Error 0> <Cause 0>]
[2015-04-22 12:59:02]: info: : send [PPTP Stop-Ctrl-Conn-Request <Reason 0>]
[2015-04-22 12:59:02]: debug: : recv [PPTP Echo-Reply <Identifier 66334873>]
[2015-04-22 12:59:03]: info: : recv [PPTP Stop-Ctrl-Conn-Reply <Result 1> <Error 0>]
[2015-04-22 12:59:03]: debug: : pptp: disconnect
[2015-04-22 12:59:03]: info: : disconnected
Code: Select all
[modules]
log_file
radius
ipoe
ippool
shaper
pptp
auth_mschap_v2
auth_pap
auth_chap_md5
auth_mschap_v1
chap-secrets
sigchld
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ipoe
nas-ip-address=127.0.0.1
server=127.0.0.1,testing123,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,we
ight=1
verbose=100
[ipoe]
verbose=100
interface=eth1,mode=L2,start=dhcpv4,shared=1,ifcfg=1
gw-ip-address=10.240.10.1/24
attr-dhcp-lease-time=Acct-Interim-Interval
lease-time=600
max-lease-time=86400
proxy-arp=1
soft-terminate=1
username=lua:username
lua-file=/etc/accel-ppp.lua
[lcp]
echo-interval=30
echo-failure=3
[pptp]
verbose=1
echo-interval=30
[client-ip-range]
10.0.0.0/8
[cli]
verbose=100
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
Code: Select all
Module Size Used by
pptp 13066 0
gre 2857 1 pptp
pppoe 8248 0
pppox 1238 2 pptp,pppoe
ppp_generic 19558 3 pptp,pppoe,pppox
ipoe 19712 0
nfnetlink_queue 8184 0
slhc 4271 1 ppp_generic
xt_nat 1357 1
iptable_nat 2162 1
nf_nat_ipv4 2840 1 iptable_nat
nf_nat 9570 3 nf_nat_ipv4,xt_nat,iptable_nat
ip_set_hash_ip 14418 1
ip_set 20797 1 ip_set_hash_ip
cls_fw 3358 0
act_mirred 2399 0
act_skbedit 1789 0
cls_u32 5516 0
sch_ingress 1308 0
cls_flow 5344 1
sch_htb 13160 1
ifb 2753 0
8021q 14687 0
igb 120490 0
e1000e 171061 0
Подскажите пожалуйста в чем может быть проблема? Может я чего-то упустил?