|
|
学校里的通过vpn访问外部网络
配置好了l2tpd,ppp,已经可以连接上,并访问外网了
目前的问题是vpn定期的会断开一次,
syslog里的提示信息如下:
control_xmit: Maximum retries exceeded for tunnel 51262. Closing.
pppd[16907]: Terminating on signal 15
pppd[16907]: Modem hangup
pppd[16907]: Connect time 7895.4 minutes.
pppd[16907]: Sent 16718846 bytes, received 26334507 bytes.
pppd[16907]: Script /etc/ppp/ip-down started (pid 28807)
pppd[16907]: Connection terminated.
pppd[16907]: Waiting for 1 child processes...
pppd[16907]: script /etc/ppp/ip-down, pid 28807
pppd[16907]: Script /etc/ppp/ip-down finished (pid 28807), status = 0x0
pppd[16907]: Exit.
l2tpd[2791]: call_close : Connection 31719 closed to 10.5.1.9, port 1701 (Timeout)
l2tpd[2791]: get_call: can't find call 3949 in tunnel 51262
l2tpd[2791]: control_xmit: Unable to deliver closing message for tunnel 51262. Destroying anyway.
好像是Maximum retries exceeded的影响。
关键我不希望vpn断开,希望它一直连着,因为利用它对外开了个web服务。
每回重连,获得的就是一个新的ip,然后就得跑去域名服务商的网站更新同域名绑定的ip,比较麻烦。
对l2tpd和ppp也是没有研究,只是根据前人的经验配置好了可以实现外部访问。
大家有过这方面经验的,帮帮忙
 |
|