[Openswan Users] Openswan & Linksys BEFSX41 VPN Router

richard garcia splender99 at gmail.com
Mon Jan 21 13:30:09 EST 2008


Thanks Peter, I already have a succesful VPN connection with Linux OpenSWAN
& Linksys BEFSX41 router using the configuration you listed below, linksys
has similar settings.  However, I'm not sure if its okey with you guys to
ask the question how can I route the trafic in Linux, I was testing with
routes and iptables but im not that good with Linux routing.

Regards,

Richard

On Jan 21, 2008 10:45 PM, Peter McGill <petermcgill at goco.net> wrote:

>  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
> (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/20080122/416943b1/attachment.html 


More information about the Users mailing list