OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
IPSec tunnel problem

From: Alexey Vatchenko (avbsdua.org)
Date: Sat Feb 23 2008 - 09:47:18 CST


Hi guys!

I'm trying to configure IPSec tunnel between home gateway and office
gateway. Home gateway has dynamic IP, office gateway has static IP.

The problem is when home gateway establishes IPSec tunnel with office
gateway, computers from office network cannot connect to office gateway
(but they still can get Internet through the gateway).

Here is what i do:

Office network: 192.168.0.0/24
ipsec.conf: ike passive esp from 192.168.0.0/24 to any local egress
dstid avbsdua.org psk xxx

Home
ipsec.conf: ike dynamic esp from any to 192.168.0.0/24 peer
OFFICE_EXTERNAL_IP srcid avbsdua.org psk xxx

So, please, shed some light on what i do wrong.

--
Alexey Vatchenko
http://www.bsdua.org