TheEdge
2004-10-03, 05:10 PM CDT
G'Day,
- Apologies for the long post. But I have a number of questions
- Environment:
* Fedora Core 2
* Internal Network: 192.168.40.0/24
* Fedora Box has eth0 configured to 192.168.40.3 with default GW of 192.168.40.1 (ADSL Router)
* IP Forwarding is ON for the Fedora Box
- I have used system-config-gui to configure an IPSEC connection on eth0. This produces the following config file:
DSTGW=192.168.42.5
SRCGW=192.168.40.1
DSTNET=192.168.42.0/16
SRCNET=192.168.40.0/24
DST=203.xx.xx.xxx
TYPE=IPSEC
ONBOOT=yes
SPI_ESP_OUT=712615660
SPI_ESP_IN=1171810019
SPI_AH_OUT=1135815966
SPI_AH_IN=1828102629
Q1: Where do I see the log of what is happening when this connection is brought up? There seems to be nothing in syslog
Q2: How do I bring up and take down the IPSEC connection from the command line? Executing the scripts seems to produce errors:
[root@moe network-scripts]# /etc/sysconfig/network-scripts/ifdown-ipsec
/etc/sysconfig/network-scripts/ifdown-ipsec: line 47: ifcfg-: No such file or directory
Command line is not complete. Try option "help"
line 1: parse error at [ah]
parse failed, line 1.
line 1: parse error at [any]
parse failed, line 1.
/etc/sysconfig/network-scripts/ifdown-post: line 47: ifcfg-: No such file or directory
Q3. The sysconfig-network-gui only seems to accept passwords of a specific length. My password is longer. I can edit the keys-MyConnectionName and edit the KEY_ESP and KEY_AH lines but surely I have to regenerate something?
Q4. Where are the ipsec.conf files etc? or dont they enter into the equation when dealing with the sysconfig-network-gui app?
TIA
- Apologies for the long post. But I have a number of questions
- Environment:
* Fedora Core 2
* Internal Network: 192.168.40.0/24
* Fedora Box has eth0 configured to 192.168.40.3 with default GW of 192.168.40.1 (ADSL Router)
* IP Forwarding is ON for the Fedora Box
- I have used system-config-gui to configure an IPSEC connection on eth0. This produces the following config file:
DSTGW=192.168.42.5
SRCGW=192.168.40.1
DSTNET=192.168.42.0/16
SRCNET=192.168.40.0/24
DST=203.xx.xx.xxx
TYPE=IPSEC
ONBOOT=yes
SPI_ESP_OUT=712615660
SPI_ESP_IN=1171810019
SPI_AH_OUT=1135815966
SPI_AH_IN=1828102629
Q1: Where do I see the log of what is happening when this connection is brought up? There seems to be nothing in syslog
Q2: How do I bring up and take down the IPSEC connection from the command line? Executing the scripts seems to produce errors:
[root@moe network-scripts]# /etc/sysconfig/network-scripts/ifdown-ipsec
/etc/sysconfig/network-scripts/ifdown-ipsec: line 47: ifcfg-: No such file or directory
Command line is not complete. Try option "help"
line 1: parse error at [ah]
parse failed, line 1.
line 1: parse error at [any]
parse failed, line 1.
/etc/sysconfig/network-scripts/ifdown-post: line 47: ifcfg-: No such file or directory
Q3. The sysconfig-network-gui only seems to accept passwords of a specific length. My password is longer. I can edit the keys-MyConnectionName and edit the KEY_ESP and KEY_AH lines but surely I have to regenerate something?
Q4. Where are the ipsec.conf files etc? or dont they enter into the equation when dealing with the sysconfig-network-gui app?
TIA