科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网安全频道redhat 7.2下面配置VPN客户端理论联系实际(2)

redhat 7.2下面配置VPN客户端理论联系实际(2)

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

 在网上看到一位大虾的关于redhat 7.2下面配置VPN客户端的文章如下:

来源:论坛整理 2008年11月2日

关键字: 安全防范 安全技术 网络安全 VPN

  • 评论
  • 分享微博
  • 分享邮件
Password:
  
     This is the password or CHAP secret for the account specified. The
     password will not be echoed.
  
     Password: ;在这里敲入密码,密码不回显
     
    回到主选单
     
     Adding secret pptp PPTP *****
  
     1.) List CHAP secrets
     2.) Add a New CHAP secret
     3.) Delete a CHAP secret
     4.) List PPTP Tunnels
     5.) Add a NEW PPTP Tunnel
     6.) Delete a PPTP Tunnel
     7.) Configure resolv.conf
     8.) Select a default tunnel
     9.) Quit
     ?: ;此时建立一个新的PPTP Tunnel,选择5
     Add a NEW PPTP Tunnel.
  
     1.) Other
     Which configuration would you like to use?:1 ;只有这一个,选1
     Tunnel Name: test ;给连接起名字test
     Server IP: 10.0.0.227 ;vpn服务器的ip
     What route(s) would you like to add when the tunnel comes up?
     This is usually a route to your internal network behind the PPTP server.
     You can use TUNNEL_DEV and DEF_GW as in /etc/pptp.d/ config file
     TUNNEL_DEV is replaced by the device of the tunnel interface.
     DEF_GW is replaced by the existing default gateway.
     The syntax to use is the same as the route(8) command.
     Enter a blank line to stop.
     route: TUNNEL_DEV ;用提示的输入
     route: ;一个就够了,回车结束
     Local Name and Remote Name should match a configured CHAP secret.
     Local Name is probably your NT domain\username.
     NOTE: Any backslashes (\) must be doubled (\\).
  
     Local Name: pptp
     Remote Name [PPTP]:
     Adding test - 10.0.0.227 - pptp - PPTP
     Added tunnel test
     1.) List CHAP secrets
     2.) Add a New CHAP secret
     3.) Delete a CHAP secret
     4.) List PPTP Tunnels
     5.) Add a NEW PPTP Tunnel
     6.) Delete a PPTP Tunnel
     7.) Configure resolv.conf
     8.) Select a default tunnel
     9.) Quit
     ?:9
  
    退出后再进入程序
     # ./pptp-command
  
     1.) start
     2.) stop
     3
    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章