VPN 指南 (VPN HOWTO) | ||
---|---|---|
上一页 (Prev) | 第 5 章。实施 (Chapter 5. Implementation) | 下一页 (Next) |
# ssh vpn.mycompany.com |
# /usr/sbin/pty-redir /usr/bin/ssh -t -e none -o 'Batchmode yes' -c blowfish -i /root/.ssh/identity.vpn -l vpn-user vpn.mycompany.com > /tmp/vpn-device (now wait about 10 seconds) # /usr/sbin/pppd `cat /tmp/vpn-device` 192.168.10.254:192.168.40.254 |
注意在 pppd 行上指定的 IP 地址。第一个是隧道客户端的地址。第二个是隧道服务器端的地址,它被设置为服务器的内部地址。如果一切似乎都正常工作,请继续。如果不是,请检查您是否拥有所有选项,以及它们的拼写是否正确。如果仍然出现问题,请查看 第 6.1 章节。( Note the IP addresses specified on the pppd line. The first is the address of the client end of the tunnel. The second is the address of the server end of the tunnel, which is set to the server's internal address. If all of that seemed to work, move on. If not, check that you have all of the options, and that they are spelled right. If something is still going wrong, check Section 6.1.)
上一页 (Prev) | 首页 (Home) | 下一页 (Next) |
客户端:配置 ssh (Client: Configure ssh) | 上级 (Up) | 客户端:设置路由 (Client: Set the routes) |