[Openswan Users] Openswan & Linksys BEFSX41 VPN Router

Peter McGill petermcgill at goco.net
Mon Jan 21 09:45:41 EST 2008


To have traffic flow to/from 192.168.8.0/24 and 192.168.2.0/24 you need to have subnets in openswan for them.
ie)
 
conn <whatever you have>
    leftsubnet=172.168.8.0/24
    leftsourceip=172.168.8.110
    rightsubnet=192.168.2.0/24
 
Don't know the linksys settings to match this, but the linksys will also need the left/right subnets set in the ipsec settings.
 
Also, the hosts in 172.168.8.0/24 will need to know to route traffic for 192.168.2.0/24 to 172.168.8.110, either by having
172.168.8.110 as the default gateway for the subnet or by putting a static route on the default gateway to forward traffic
for 192.168.2.0/24 to 172.168.8.110.
 
 
Peter McGill
 


  _____  

From: users-bounces at openswan.org [mailto:users-bounces at openswan.org] On Behalf Of richard garcia
Sent: January 19, 2008 10:16 AM
To: users at openswan.org
Subject: [Openswan Users] Openswan & Linksys BEFSX41 VPN Router


Hi, I'm new to openswan, I was able to establish a connection using Ubuntu Openswan and a Linksys BEFSX41 VPN Router.   Below is the
layout of the setup
 
                                                   192.168.1.10         WAN              192.168.1.12
                                                 172.168.8.110/24
172.168.8.3/24 ----------------------->    OPENSWAN  ------------------------->  BEFSX41  --------------------------------->
192.168.2.2/24  <http://192.168.2.2/24> (Windows)
 
>From 192.168.2.2, I can ping 172.168.8.110.  However I need to connect to 172.168.8.3, ping to this host is request timeout. From
172.168.8.110, cannot ping any pcs in 192.168.2.2.
Im not very good at iptables and routing in Linux, can anyone help me?
 
Regards,
 
splender99

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080121/dbfc60f8/attachment.html 


More information about the Users mailing list