标签归档:Linux

OpenVPN:内网无端口映射建立VPN问题

本文介绍的操作均在CentOS 6.0下完成,关于CentOS下如何安装OpenVPN,参考:CentOS6下如何快速安装OpenVPN,本文介绍OpenVPN使用静态密钥建立VPN的方法,关于使用Mode server方式建立OpenVPN,参考本人以前写的文章: OpenVPN在Linux下的安装[CA] 、OpenVPN使用User/Pass验证登录、OpenVPN在Windows下使用User/Pass验证、Windows 下使用 CA 验证的 OpenVPN Server 的配置方法。大家慢慢参考。

发表在 经典案例 | 标签为 , , , , | 留下评论

PPTP Server Installation in CentOS 5

I am writing this document on how to build a Linux Point to Point Tunneling Protocol (PPTP) server using Poptop. This allows roaming users to connect to their corporate network from anywhere on the Internet securely and inexpensively. It supports … 继续阅读

发表在 经典案例 | 标签为 , , , , | 留下评论

Linux下用iptunnel实现VPN

环境: A机器: 外网IP: 192.168.0.1 虚拟网卡:10.0.0.1 B机器: 外网IP: 192.168.8.1 虚拟网卡:10.0.8.1 机器A配置: /sbin/modprobe ipip /sbin/iptunnel add tun0 mode ipip local 192.168.0.1 remote 192.168.8.1 ttl 64 /sbin/ifconfig tun0 10.0.0.1 pointopoint 10.0.8.1 netmask 255.255.255.255 机器B配置: /sbin/modprobe ipip /sbin/iptunnel add tun0 mode ipip local 192.168.8.1 … 继续阅读

发表在 经典案例 | 标签为 , , , | 留下评论