[Openswan Users] but no connection has been authorized with policy=PSK

Thomas Schweikle tps at vr-web.de
Tue Apr 12 12:54:41 EDT 2011


Am 12.04.2011 13:22, schrieb Willie Gillespie:
> On 4/12/2011 5:16 AM, Nick Howitt wrote:
>> On the server side set leftsourceip= the LAN IP of your server. You can
>> mirror the setting on the remote machine but it won't do anything.
> 
> I stand corrected.  I always forget about this option.  Definitely try 
> Nick's suggestion.

I've tried it. Works!
But only for the gateways themselves.

Adding a static route to any of the hosts does not help:

Hosts IP: 192.168.180.30
# route -n
Kernel IP routing table
Destination   Gateway         Genmask Flags Metric Ref Use Iface
192.168.1.0   192.168.180.27  255.255.255.0  UG 0   0 0 eth1
192.168.180.0 0.0.0.0         255.255.254.0  U  0   0 0 eth1
222.66.76.0   0.0.0.0         255.255.254.0  U  0   0 0 eth0
0.0.0.0       222.66.76.1     0.0.0.0        UG 100 0 0 eth0

# traceroute 192.168.1.4
traceroute to 192.168.1.4 (192.168.1.4), 30 hops max, 60 byte packets
 1  192.168.180.27  1.814 ms  1.685 ms  1.589 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

-- 
Thomas


More information about the Users mailing list