I have a wireless network and a wired LAN. I would like to access the wired LAN through wireless network using IPSEC. Seems like a simple task that everyone here has done, but I am having the following problem, which I am hoping someone can answer:
When I set up IPSEC local endpoint (on the astaro) to be the astaro interface for the wireless network I can establish IPSEC connection without a problem. However I lose all access to the internet. As soon as I take IPSEC down the access to the internet works fine. The route table on my client machine looks like this:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
192.168.100.0 * 255.255.255.0 U 0 0 0 ipsec0
172.16.100.0 192.168.100.1 255.255.255.0 UG 0 0 0 ipsec0
default 192.168.100.1 0.0.0.0 UG 1 0 0 eth0
One popssible hint is that the gateways IP is not resolved here.
Hopwever if I set the local endpoint to be the external interface the connection also establishes fine, but I don't get any access to the LAN. Its as if I am not IPSECing at all. The routing table here looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
192.168.100.0 * 255.255.255.0 U 0 0 0 ipsec0
172.16.100.0 prometheus.thec 255.255.255.0 UG 0 0 0 ipsec0
default prometheus.thec 0.0.0.0 UG 1 0 0 eth0
With the exception of the local endpoint there are no differences in the setup. What do I use? I have also tried useing the LAN astaro gateway address for the local point, this does not work either.
Please, please, help!
This thread was automatically locked due to age.