I am not sure the laptop needs a route to 192.168.10.0. In fact, although the tunnel between homefw and officefw is "working" -- I can ping either end of the tunnel IPs (10.1.10.1,2) from the other -- I can't get access to the individual subnets.
Although there is no route to 192.168.10 on the laptop, the home firewall has a route in its route table for that subnet (see below). So, the default route of the laptop takes over for those packets, and home fw table sends them on the tunnel to office fw. See the ping from the winxp box way at the bottom, the opposite end of the tunnel at office fw says destination unreachable. Yet obviously 192.168.10.0 is a directly connected net to office fw. I apologize in advance for the length of this post, and my obsessive anonymizing of the public IPs (who knows who may lurk on the list... ) Any thoughts? Rick. I have been following www.shorewall.net/openvpn.html Unfortunately that page uses a route-up script that is not displayed. So I am guessing the config should be: office openvpn.conf dev tun # For compatability with 2.x openvpn clients/servers tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 port 50001 disable-occ local 137.p.q.190 # Remote peer remote 216.x.y.89 ifconfig 10.1.10.2 10.1.10.1 route 192.168.1.0 255.255.255.0 # Our pre-shared static key secret static.key verb 5 mute 10 The route directive is what I assume the upscript does. This makes the office route table: # ip route sho 10.1.10.1 dev tun0 proto kernel scope link src 10.1.10.2 192.168.1.0/24 via 10.1.10.1 dev tun0 192.168.10.0/24 dev eth1 proto kernel scope link src 192.168.10.254 137.p.q.0/24 dev eth0 proto kernel scope link src 137.p.q.190 137.p.q.0/24 dev ipsec0 proto kernel scope link src 137.p.q.190 default via 137.p.q.55 dev eth0 on the home fw, the route directive is route 192.168.10.0 255.255.255.0 =========================== Shorewall config ==================== # more zones #ZONE DISPLAY COMMENTS net Net Internet loc Local Local Networks vpn1 VPN-1 Remote Subnet for IPsec Road Warrior vpn3 VPN-3 Openvpn sub to sub #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE firewall: -root- # more interfaces #ZONE INTERFACE BROADCAST OPTIONS net eth0 detect norfc1918 loc eth1 detect #loc usb0 vpn1 ipsec0 vpn3 tun0 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE firewall: -root- # more policy loc vpn1 ACCEPT fw vpn3 ACCEPT loc vpn3 ACCEPT net vpn3 ACCEPT vpn1 loc ACCEPT vpn3 loc ACCEPT vpn3 net ACCEPT vpn3 fw ACCEPT net all DROP ULOG all all REJECT ULOG #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE tunnels: # TYPE ZONE GATEWAY GATEWAY ZONE PORT ipsec net 0.0.0.0/0 vpn1 openvpn:50001 net 216.x.y.89 vpn3 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE =========================== from winxp =========================== ping 192.168.10.13 Pinging 192.168.10.13 with 32 bytes of data: Reply from 10.1.10.2: Destination host unreachable. Reply from 10.1.10.2: Destination host unreachable. Reply from 10.1.10.2: Destination host unreachable. Ping statistics for 192.168.10.13: Packets: Sent = 3, Received = 3, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms -----Original Message----- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 2:56 AM To: Tibbs, Richard Cc: [EMAIL PROTECTED] Subject: Re: [leaf-user] Openvpn problems -- again.. Rick Tibbs, Richard wrote: >OK, I deleted the route directive on the wireless laptop and everything >works fine. I can ping each end of the tunnel from the other, etc. >Apparently the route directive is completely unnecessary in my situation >on either end. > > Great it works for you, I have one question though. I do not see a route on that laptop for the net 192.168.10.0/24, e.g. the office network. I would expect a route to point to the tap adapter. Did you check that the traffic really goes through the tunnel. I would expect a rather general route to point to the tunnel to send most/all traffic through the tunnel. You can probably check by running a tcpdump on tunx. cheers Erich ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html