当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > freeswan 文档摘录

Unix/Linux
Fedora下解决apache配置出错
fedora8下安装aircard750的gprs无线网卡驱动
Linux系统下增加Tomcat远程调试端口
Linux系统硬盘的维护及优化
Fedora 8 Linux系统下运行QQ2008Beta1
fedora 7下配置postfix邮件系统
Fedora 7上安装和配置xmms
Fedora 9系统实现ADSL上网的方法
Samba中文显示乱码解决办法
Fedora 9系统下创建和配置vncserver过程
fedora8 linux挂载DVD光盘或ISO镜像为源的方法
Fedora 9.0系统下创建和配置vncserver远程连接
Fedora Linux系统中挂载NTFS分区的方法
关掉Fedora 8不需要的服务
Linux及FreeBSD系统下如何查看CPU信息
解决Putty输入中文的方法
Linux系统下Apache安装、配置、优化
fedora8 下mysql 安装的安装方法
设置Linux系统文件权限
Fedora Core 4.0 安装图解

Unix/Linux 中的 freeswan 文档摘录


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 81 ::
收藏到网摘: n/a

1)Building and installing the software2)Testing to see if install succeeded
Building and installing the software
There are several ways to build and install the software. All require that you have kernel source, correctly configured for your machine, as a starting point. If you don't have that yet, see the previous section
Whatever method you choose, it will do all of the following: add FreeS/WAN code to the kernel insert patches into standard kernel code to provide an interface add additional files which use that interface re-configure and re-compile the kernel to activate that code install the new kernel build the non-kernel FreeS/WAN programs and install them ipsec(8) in /usr/local/sbin others in /usr/local/lib/ipsec install FreeS/WAN man pages under /usr/local/man create the configuration file ipsec.conf(5). Editing this file to configure your IPSEC gateway is described in the next section. create an RSA public/private key pair for your system and place it in ipsec.secrets(5) install the initialisation script /etc/rc.d/init.d/ipsec create links to that script from the /etc/rc.d/rc[0-6].d directories so that each run level starts or stops IPSEC. (If the previous sentence makes no sense to you, try the From Power-up to Bash Prompt HowTo). Testing to see if install succeeded

To check that you have a sucessful install, you can reboot and check (by watching messages during boot or by looking at them later with dmesg(8)) that:the kernel reports the right version. If not, you are likely still running your old kernel. Check your lilo.conf(5) file and the installation directory (defined in the kernel make file, often /boot but the default is /), then rerun lilo(8). KLIPS initialisation messages appear Pluto reports that it is starting
You can also try the commands:ipsec --version, to test whether /usr/local/bin is in your path so you can use IPSEC administration commands ipsec whack --status, using ipsec_whack(8) to ask Pluto for status information
Of course any status information at this point should be uninteresting since you have not yet configured connections.