View previous topic :: View next topic |
Author |
Message |
-Blade- n00b


Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Sat May 07, 2005 3:59 pm Post subject: Openswan Host-Host Tunnel |
|
|
I'd like to setup an openswan ipsec tunnel between two hosts:
host1 <---> host2
host1:
default ip -> eth1 10.10.0.1
ipsec tunnel ip -> eth1:1 10.10.1.1
host2:
default ip -> eth0 10.10.0.2
ipsec tunnel ip -> eth0:1 10.10.1.2
The connection between the "default ip's" is unencrypted. The connection between the alias ip's should be an ipsec tunnel.
Does anybody have an idea for an example ipsec.conf ? _________________ Open Minds - Open Source - Open Future |
|
Back to top |
|
 |
-Blade- n00b


Joined: 19 Sep 2003 Posts: 23 Location: Germany
|
Posted: Mon May 09, 2005 9:41 pm Post subject: |
|
|
Mh... it is "easier", than i thought.
Just use the HOWTO and edit the appropriate settings.
/etc/ipsec/ipsec.conf
Code: |
version 2.0 # conforms to second version of ipsec.conf specification
config setup
include /etc/ipsec/ipsec.d/examples/no_oe.conf
conn host1-host2
left=10.10.1.1
leftid=@host1
leftrsasigkey=[somekey]
right=10.10.1.2
rightid=@host2
rightrsasigkey=[somekey]
auto=add
|
Kernel-Config:
-> Cryptographic options
-> Cryptographic API [all modules] _________________ Open Minds - Open Source - Open Future |
|
Back to top |
|
 |
|