Bo's Oracle Station

查看: 1481|回复: 0

第6次:2014-08-21

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-8-21 11:29:55 | 显示全部楼层 |阅读模式
vpn:


拨号:
   /etc/sysconfig/network-scripts/ifcfg-fzjslan
  1. # Please read /usr/share/doc/initscripts-*/sysconfig.txt
  2. # for the documentation of these parameters.
  3. TYPE=xDSL
  4. DEVICE=ppp0
  5. BOOTPROTO=dialup
  6. USERCTL=yes
  7. IPV6INIT=no
  8. PEERDNS=yes
  9. PIDFILE=/var/run/pppoe-adsl.pid
  10. FIREWALL=NONE
  11. PING=.
  12. PPPOE_TIMEOUT=80
  13. LCP_FAILURE=3
  14. LCP_INTERVAL=20
  15. CLAMPMSS=1412
  16. CONNECT_POLL=6
  17. CONNECT_TIMEOUT=60
  18. PERSIST=no
  19. SYNCHRONOUS=no
  20. DEFROUTE=yes
  21. USER="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@fzjslan"
  22. ETH=br0
  23. PROVIDER=fzjslan
  24. DEMAND=no
  25. ONBOOT=no
复制代码
/etc/ppp/chap-secrets和pap-secrets内容是一样的:

  1. # Secrets for authentication using CHAP
  2. # client        server        secret                        IP addresses
  3. ####### redhat-config-network will overwrite this part!!! (begin) ##########
  4. ####### redhat-config-network will overwrite this part!!! (end) ############
  5. "xxxxxx@fzjslan"        *        "12345678"
复制代码



botang-config-vpn.zip

386 Bytes, 下载次数: 939

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-6 21:22 , Processed in 0.112030 second(s), 27 queries .

快速回复 返回顶部 返回列表