OK, I've added IPSEC VPN per Darrell's contrib and can't get it working. It looks like something on the "client" server is not working/blocking the connection.
Both servers are 5.5u2.
Here are the details:
VPN "Server": 66.46.xx.xxx
Defind Remote Local Network of 192.168.12.0
VPN "Client": 24.192.xx.xxx
Defind Remote Local Network of 192.168.33.0
Have followed Darrell's HowTo twice, with the same results both times.
Here are the relevant log files:
VPN "Server":
Jan 28 11:25:10 sme3300 ipsec_setup: Starting FreeS/WAN IPsec 1.97...
Jan 28 11:25:10 sme3300 ipsec_setup: KLIPS debug none'
Jan 28 11:25:10 sme3300 ipsec_setup: KLIPS ipsec0 on eth1 66.46.196.116/255.255.255.0 broadcast 66.46.196.255
Jan 28 11:25:10 sme3300 ipsec_setup: ...FreeS/WAN IPsec started
Jan 28 11:27:02 sme3300 ipsec__plutorun: 104 "net.local-net.192.168.12.0" #1: STATE_MAIN_I1: initiate
Jan 28 11:27:02 sme3300 ipsec__plutorun: 010 "net.local-net.192.168.12.0" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
Jan 28 11:27:02 sme3300 ipsec__plutorun: 010 "net.local-net.192.168.12.0" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
Jan 28 11:27:02 sme3300 last message repeated 2 times
Jan 28 11:27:02 sme3300 ipsec__plutorun: 106 "net.local-net.192.168.12.0" #1: STATE_MAIN_I2: sent MI2, expecting MR2
Jan 28 11:27:02 sme3300 ipsec__plutorun: 108 "net.local-net.192.168.12.0" #1: STATE_MAIN_I3: sent MI3, expecting MR3
Jan 28 11:27:02 sme3300 ipsec__plutorun: 004 "net.local-net.192.168.12.0" #1: STATE_MAIN_I4: ISAKMP SA established
Jan 28 11:27:02 sme3300 ipsec__plutorun: 112 "net.local-net.192.168.12.0" #5: STATE_QUICK_I1: initiate
Jan 28 11:27:02 sme3300 ipsec__plutorun: 004 "net.local-net.192.168.12.0" #5: STATE_QUICK_I2: sent QI2, IPsec SA established
Jan 28 11:27:02 sme3300 ipsec__plutorun: 112 "gate.local-net.192.168.12.0" #6: STATE_QUICK_I1: initiate
Jan 28 11:27:02 sme3300 ipsec__plutorun: 004 "gate.local-net.192.168.12.0" #6: STATE_QUICK_I2: sent QI2, IPsec SA established
Jan 28 11:27:02 sme3300 ipsec__plutorun: 112 "gate.local-gate.192.168.12.0" #7: STATE_QUICK_I1: initiate
Jan 28 11:27:02 sme3300 ipsec__plutorun: 004 "gate.local-gate.192.168.12.0" #7: STATE_QUICK_I2: sent QI2, IPsec SA established
Jan 28 11:27:03 sme3300 ipsec__plutorun: 112 "net.local-gate.192.168.12.0" #8: STATE_QUICK_I1: initiate
Jan 28 11:27:03 sme3300 ipsec__plutorun: 004 "net.local-gate.192.168.12.0" #8: STATE_QUICK_I2: sent QI2, IPsec SA established
and logs from the VPN "Client":
Jan 28 11:16:49 pdc ipsec_setup: ...FreeS/WAN IPsec started
Jan 28 11:16:51 pdc ipsec__plutorun: 003 "gate.192.168.33.0-net.local": route-client command exited with status 7
Jan 28 11:16:51 pdc ipsec__plutorun: 003 "gate.192.168.33.0-net.local": down-client command exited with status 1
Jan 28 11:16:51 pdc ipsec__plutorun: 025 "gate.192.168.33.0-net.local": could not route
Jan 28 11:16:51 pdc ipsec__plutorun: ...could not route conn "gate.192.168.33.0-net.local"
Jan 28 11:16:51 pdc ipsec__plutorun: 003 "gate.192.168.33.0-gate.local": route-host command exited with status 7
Jan 28 11:16:51 pdc ipsec__plutorun: 025 "gate.192.168.33.0-gate.local": could not route
Jan 28 11:16:51 pdc ipsec__plutorun: ...could not route conn "gate.192.168.33.0-gate.local"
Jan 28 11:16:51 pdc ipsec__plutorun: 003 "net.192.168.33.0-gate.local": route-host command exited with status 7
Jan 28 11:16:51 pdc ipsec__plutorun: 025 "net.192.168.33.0-gate.local": could not route
Jan 28 11:16:51 pdc ipsec__plutorun: ...could not route conn "net.192.168.33.0-gate.local"
Jan 28 11:16:52 pdc ipsec__plutorun: 003 "net.192.168.33.0-net.local": route-client command exited with status 7
Jan 28 11:16:52 pdc ipsec__plutorun: 025 "net.192.168.33.0-net.local": could not route
Jan 28 11:16:52 pdc ipsec__plutorun: ...could not route conn "net.192.168.33.0-net.local"
Jan 28 11:17:10 pdc kernel: ip_demasq_esp(): Inbound from 66.46.xx.xxx SPI E37FA4C1 has no masq table entry.
Jan 28 11:17:20 pdc last message repeated 10 times
Jan 28 11:17:21 pdc kernel: ip_demasq_esp(): Inbound from 66.46.xx.xxx SPI E37FA4C3 has no masq table entry.
Jan 28 11:17:52 pdc last message repeated 31 times
Jan 28 11:18:02 pdc ipsec__plutorun: 104 "gate.192.168.33.0-net.local" #1: STATE_MAIN_I1: initiate
Jan 28 11:18:02 pdc ipsec__plutorun: 106 "gate.192.168.33.0-net.local" #1: STATE_MAIN_I2: sent MI2, expecting MR2
Jan 28 11:18:02 pdc ipsec__plutorun: 108 "gate.192.168.33.0-net.local" #1: STATE_MAIN_I3: sent MI3, expecting MR3
Jan 28 11:18:02 pdc ipsec__plutorun: 004 "gate.192.168.33.0-net.local" #1: STATE_MAIN_I4: ISAKMP SA established
Jan 28 11:18:02 pdc ipsec__plutorun: 112 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: initiate
Jan 28 11:18:02 pdc ipsec__plutorun: 003 "gate.192.168.33.0-net.local" #2: route-client command exited with status 7
Jan 28 11:18:02 pdc ipsec__plutorun: 032 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: internal error
Jan 28 11:18:02 pdc ipsec__plutorun: 003 "gate.192.168.33.0-net.local" #2: route-client command exited with status 7
Jan 28 11:18:02 pdc ipsec__plutorun: 032 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: internal error
Jan 28 11:18:02 pdc ipsec__plutorun: 010 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: retransmission; will wait 20s for response
Jan 28 11:18:02 pdc ipsec__plutorun: 010 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: retransmission; will wait 40s for response
Jan 28 11:18:02 pdc ipsec__plutorun: 003 "gate.192.168.33.0-net.local" #2: route-client command exited with status 7
Jan 28 11:18:02 pdc ipsec__plutorun: 032 "gate.192.168.33.0-net.local" #2: STATE_QUICK_I1: internal error
Jan 28 11:18:02 pdc ipsec__plutorun: 031 "gate.192.168.33.0-net.local" #2: max number of retransmissions (2) reached STATE_QUICK_I1. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal
Jan 28 11:18:02 pdc ipsec__plutorun: 000 "gate.192.168.33.0-net.local" #2: starting keying attempt 2 of an unlimited number, but releasing whack
Jan 28 11:18:02 pdc ipsec__plutorun: ...could not start conn "gate.192.168.33.0-net.local"
Jan 28 11:18:53 pdc last message repeated 61 times
Jan 28 11:19:13 pdc ipsec__plutorun: 112 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: initiate
Jan 28 11:19:13 pdc ipsec__plutorun: 003 "gate.192.168.33.0-gate.local" #10: route-host command exited with status 7
Jan 28 11:19:13 pdc ipsec__plutorun: 032 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: internal error
Jan 28 11:19:13 pdc ipsec__plutorun: 010 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: retransmission; will wait 20s for response
Jan 28 11:19:13 pdc ipsec__plutorun: 003 "gate.192.168.33.0-gate.local" #10: route-host command exited with status 7
Jan 28 11:19:13 pdc ipsec__plutorun: 032 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: internal error
Jan 28 11:19:13 pdc ipsec__plutorun: 010 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: retransmission; will wait 40s for response
Jan 28 11:19:13 pdc ipsec__plutorun: 003 "gate.192.168.33.0-gate.local" #10: route-host command exited with status 7
Jan 28 11:19:13 pdc ipsec__plutorun: 032 "gate.192.168.33.0-gate.local" #10: STATE_QUICK_I1: internal error
Jan 28 11:19:13 pdc ipsec__plutorun: 031 "gate.192.168.33.0-gate.local" #10: max number of retransmissions (2) reached STATE_QUICK_I1. No acceptable response to our first Quick Mode message: perhaps peer likes no proposal
Jan 28 11:19:13 pdc ipsec__plutorun: 000 "gate.192.168.33.0-gate.local" #10: starting keying attempt 2 of an unlimited number, but releasing whack
Jan 28 11:19:13 pdc ipsec__plutorun: ...could not start conn "gate.192.168.33.0-gate.local"
And after trying to ping the remote gateway of each box, here is the ipsec0 ifconfig data:
VPN "Server:
ipsec0 Link encap:Ethernet HWaddr 00:A0:CC:D7:94:2A
inet addr:66.46.xx.xxx Mask:255.255.255.0
UP RUNNING NOARP MTU:16260 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 b) TX bytes:87632 (85.5 Kb)
VPN "Client":
ipsec0 Link encap:Ethernet HWaddr 00:01:02:73:05:D5
inet addr:24.192.xx.xxx Mask:255.255.255.224
UP RUNNING NOARP MTU:16260 Metric:1
RX packets:76 errors:0 dropped:76 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
You can see that the client isn't even trying to transmit pings, and the server is pinging, client is receiving but dropping the packets. I am sooo confused at this point...
It seems that something on the "Client" is not setup properly, but everything in the server manager has been checked twice.
Any help on this would be greatly appreciated.
Terry