I have been having troubles setting up an IPSEC tunnel using the redhat-config-network gui. I have done a trace on the ifup scripts to nail down the problem, but while I understand why it doesn't work, I'm not sure if I understand what I should change it to. Here's the situation I'm dealing with:
Machine A Machine B internal 10.0.0.0/24 internal 192.168.0.0/24 external 24.68.x.x external 24.72.x.x ----------- Internet -------------
the problem comes when the script attempts to setup the routes and I get a
RTNETLINK answers: Network is unreachable
which is dies trying to execute: 'ip route add to 192.168.0.0/24 via 24.72.x.x'
Which of course wouldn't work.
my ifcfg-ipsec0 contains:
DSTGW=192.168.0.1
SRCGW=10.0.0.1
DSTNET=192.0.0.0/24
SRCNET=10.0.0.0/24
DST=24.72.x.x
TYPE=IPSEC
ONBOOT=no
I've also tried:
DSTGW=24.72.x.1 SRCGW=24.68.x.1 DSTNET=192.0.0.0/24 SRCNET=10.0.0.0/24 DST=24.72.x.x TYPE=IPSEC ONBOOT=no
so I must not understand what is happening. Where am I going wrong, I've gone through the advanced routing howto, and have managed freeswan tunnels for a couple years, though I don't quite grasp how this is all configured. Any more documentation or pointers would be totally appreciated.
--
Nathanael D. Noblet
Gnat Solutions
412 - 135 Gorge Road E
Victoria, BC V9A 1L1
T/F 250.385.4613
http://www.gnat.ca/
-- Fedora-config-list mailing list Fedora-config-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-config-list