Debian/Ubuntu下搭建L2TP/IPsec VPN教程

Written by 大圈 December 29th, 2010 6:06 PM 4 Comments Filed under: 功夫

本节开讲如何搭建PPTP和L2TP,本人大便犯不熟悉其他版本的linux,先做个Debian/Ubuntu教程。

首先先引入名称解释。
IPSec,神马是IPSec就是互联网协议加密(Internet Protocol Security)滴缩写。加密和认证以保护通讯安全的协议。
L2TP则是对IPSec包装传输的穿隧协议(Tunneling Protocol)。L2TP本身是不加密只有结合IPSec才能实现VPN。
Openswan是Linux下实现的IPSec的工具。

Read the rest of this entry »

TAGS: Debian, L2TP, Ubuntu, VPN

Debian下使用让Exim4通过Gmail发邮件

Written by 大圈 November 25th, 2010 4:23 PM 57 Comments Filed under: 鸡贼

准备工作:

apt-get install -y exim4 
apt-get install -y mutt

其实debian一般默认安装是有exim4的,不保准有的精简安装版没有,apt-get一下吧。

配置:

dpkg-reconfigure exim4-config

第一步:布拉布拉布拉,OK
第二步:mail sent by smarthost; received via SMTP or fetchmail   ,OK
第三步:System mail name: 输入本机域名:malegebi.com,OK
第四步: Please enter a semicolon-separated list of IP addresses. The Exim SMTP listener daemon will listen on all IP addresses listed here.  ,继续OK

Read the rest of this entry »

TAGS: Debian, Exim4, Gmail