Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:jobs:vpn_gre_over_ipsec [2012/12/29 16:37]
admin
en:jobs:vpn_gre_over_ipsec [2012/12/29 16:45]
admin [Cisco 1841 device configuration.]
Line 52: Line 52:
 In the following configurations we omit firewall configuration of %%FreeBSD%%/​Linux and Cisco.** In the following configurations we omit firewall configuration of %%FreeBSD%%/​Linux and Cisco.**
  
-==== FreeBSD device configuration. ==== +==== FreeBSD/​Linux ​device configuration. ==== 
-%%FreeBSD%% (we consider version higher than 6.4)+ 
 +===FreeBSD=== 
  
 **1. Requirements packages:​**\\ **1. Requirements packages:​**\\
 +%%FreeBSD%% (we consider version higher than 6.4)\\
 Kernel Source\\ Kernel Source\\
 Racoon (ipsec-tools)\\ Racoon (ipsec-tools)\\
Line 71: Line 74:
  
 2.3 Quagga must be compiled with ospfd options.\\ 2.3 Quagga must be compiled with ospfd options.\\
-** + 
-3. Configuration**+**1. Requirements packages:​**\\ 
 +%%Linux Centos%% (versions 5)\\ 
 +Racoon (ipsec-tools)\\ 
 +Quagga ( version 0.98.6) 
 + 
 + 
 +**2. Installation:​**\\ 
 + 
 +yum install ipsec-tools quagga 
 + 
 + 
 +**3. Configuration**
  
 3.1 Racoon configuraton:​\\ 3.1 Racoon configuraton:​\\
Line 167: Line 181:
  
 /​usr/​local/​sbin/​racoon -f /​usr/​local/​etc/​racoon/​racoon.conf\\ /​usr/​local/​sbin/​racoon -f /​usr/​local/​etc/​racoon/​racoon.conf\\
 +
 +===FreeBSD===
  
 3.2 Configure GRE tuunels (**rc.conf** configuration):​\\ 3.2 Configure GRE tuunels (**rc.conf** configuration):​\\
Line 176: Line 192:
 ipsec_enable="​YES"​ #for setkey policy\\ ipsec_enable="​YES"​ #for setkey policy\\
 ipsec_file="​path_to_setkey.conf"​ #for setkey policy\\ ipsec_file="​path_to_setkey.conf"​ #for setkey policy\\
 +
 +===Linux===
 +
 +3.2 Configure GRE tuunels :\\
 +
 +/​etc/​sysconfig/​network-scripts/​ifcfg-tun0\\
 +DEVICE=tun0\\
 +BOOTPROTO=none\\
 +ONBOOT=yes\\
 +TYPE=GRE\\
 +MTU=1476\\
 +PEER_OUTER_IPADDR=IP_B\\
 +PEER_INNER_IPADDR=192.168.0.1\\
 +MY_INNER_IPADDR=192.168.0.0\\
 +
 +/​etc/​sysconfig/​network-scripts/​ifcfg-tun1\\
 +DEVICE=tun1\\
 +BOOTPROTO=none\\
 +ONBOOT=yes\\
 +TYPE=GRE\\
 +MTU=1476\\
 +PEER_OUTER_IPADDR=IP_C\\
 +PEER_INNER_IPADDR=192.168.0.3\\
 +MY_INNER_IPADDR=192.168.0.2\\
 +
  
 3.3 Configure Quagga.\\ 3.3 Configure Quagga.\\
Line 191: Line 232:
  
 For start quagga write:\\ For start quagga write:\\
 +
 +===FreeBSD===
  
 /​usr/​local/​quagga/​sbin/​zebra -d -f path_to_zebra.conf\\ /​usr/​local/​quagga/​sbin/​zebra -d -f path_to_zebra.conf\\
 /​usr/​local/​quagga/​sbin/​ospfd -d -f path_to_ospfd.conf\\ /​usr/​local/​quagga/​sbin/​ospfd -d -f path_to_ospfd.conf\\
  
 +===Linux===
  
 +service zebra start 
 ==== Cisco 1841 device configuration. ==== ==== Cisco 1841 device configuration. ====
  
Line 223: Line 268:
 !\\ !\\
 interface Tunnel1\\ interface Tunnel1\\
-description link to %%FreeBSD%%\\+description link to %%FreeBSD%%/Linux\\
 ip address 192.168.0.1 255.255.255.254\\ ip address 192.168.0.1 255.255.255.254\\
 ip mtu 1476\\ ip mtu 1476\\
en/jobs/vpn_gre_over_ipsec.txt · Last modified: 2015/03/12 17:09 by admin
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki