Trying a different approach to my previous question (Routing/openVPN
Question).

Here's my setup:

10.1.0.2        openVPN TUN interface
192.168.11.2    Remote Client
  |
  |
192.168.11.1    Remote LAN Gateway - Linksys router
192.168.1.33    router external interface
  |
  |
192.168.1.0/24  Sprint's local DSL subnet
192.168.1.254   router's gateway
  ?
  ?
65.41.48.33     Sprint's public IP (DSL subnet is NAT'ed behind this)
  |
  |
66.216.159.82   Our T1 public interface (NAT'ing our LAN)
192.168.1.100   Our LAN's Gateway
  |
  |
192.168.1.0/24  Our LAN

Given the above, is it possible to add a route on the remote client
(winxp pro) so that all traffic to a single IP is routed through the
openvpn interface to our LAN, in essence ignoring part of the
192.168.1.0/24 subnet on Sprint's DSL segment.

For those unfamiliar with openVPN, on connection it would create a route
on the remote client such as:

route add 192.168.1.0 mask 255.255.255.0 10.1.0.2

10.1.0.2 being the interface that openVPN creates on the client.

I was thinking changing that route to:

route add 192.168.1.36 mask 255.255.255.252 10.1.0.2

My thoughts are by creating the route to 192.168.1.36/255.255.255.252,
only traffic to 192.168.1.36 would hit the openVPN interface,and all
other traffic to 192.168.1.0 would hit the DSL segment.

Is this at all right?  Is the mask correct?

The bering box on our LAN would have a route such as:

192.168.11.0/24 via 10.1.0.1 dev tun1

I'm stretching my knowledge of routing here, so please set me straight.

Thanks for any help, and to those who replied previously.

Chris



-- 
Chris Carbaugh
Network Administrator
[EMAIL PROTECTED]

Leer Electric Inc.
www.LeerElectric.com
PHONE: (717) 432-9756
FAX:   (717) 432-9758



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
------------------------------------------------------------------------
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

Reply via email to