PDA

View Full Version : Setting IPSec Tunnel between two Fedora Boxes


yanqui
2005-06-29, 09:47 AM CDT
Dear all,

I want to setup a permanent link between my office in Canada the one in USA. All computer from my two private subnet will use this tunnel to share files, using remote desktop, etc... When a connection is establish between a computer in Canada and another one in USA, this connection must be encrypted.

I tried to setup it using openswan but it doens't work well.

Here is what I want to do:

In Canada, I have a fedora with two network interface. This computer act as my router/firewall for this office. My internal netwotk subnet is 10.45.0.0/16. I have the same configuration in USA but the internal network subnet id 10.46.0.0/16.

I want to connect those two networks together using a secure link. IPSec seems to be the ideal solution. I want to be able to ping all computers from Canada using local ips from USA (i.e. ping 10.46.1.1) and vise-versa.

At this time, with openswan, I'm able to get a connection, but I'm not able to ping any computer from the firewall itself (the one who openswan is installed). However, if I ping a computer on the remote subnet from any other computer except my firewall on my local subnet, I will get the reply.

So right now it works maybe 50%, but I still need help to get this running for all workstation into both subnets.

If somebody can helps me on the matter, I will appreaciate it.

Best regards,
Yanick

ghenry
2005-07-05, 03:16 PM CDT
Can we see your ipsec.conf etc.? Maybe a network layout?

massimomm
2005-09-27, 09:25 AM CDT
Dera all,
I need to setup a permanent connection link between side in my company. This connection must be encrypted, so I have thought to use Openswan in my 2 linux box with Fedora core 4, but i don't know how start..
Could you suggest me a good how to in Openswan for Fedora 4 ?
I've notice that Openswan is already included in Fedora 4 and i don't need any RPM packages to download, is it true ?
Thanks a lot for any suggestion !
Massimo