[Openswan Users] VPN client IP addressing configuration issues
paul at xelerance.com
Thu Sep 4 09:56:44 EDT 2008
On Thu, 4 Sep 2008, Rolando Zappacosta wrote:
> LAPTOP <-> DSL ROUTER OR 3G USB DEVICE <=> INTERNET CLOUD <=> IPSEC VPN SERVER <-> INTRANET
> In a first stage I'd like to have all the laptop's outgoing traffic sent out through the IPSec tunnel but once it's up I can see the ICMP packets destinated to an IP address within the intranet sent unencapsulated (not through the tunnel).
since you use NETKEY, you cannot see the encrypted traffic with tcpdump on the client.
> How can I debug this or trace the packets flows?
That's not needed at this point, but there is one debug option in ipsec.cond (plutodebug)
> How can I handle the fact that the DSL router and the USB stick public IP addresses are different and change (each time I connect for the later)?
left=%defaultroute will pick the IP from your dynamic assignment.
To tunnel all traffic (if the remote allows that), then you should
> conn Intranet
> # *********** This is for the PC (local):
> left=<The 3G stick public IP address it gets each time>
> # *********** This is for the GW (remote):
> right=<The IPsec server public IP address>
I'll assume this is not openswan, since xauth is being used?
More information about the Users