On Tue, 18 Jan 2005 07:07:16 -0800, google wrote:
> Everything is working pretty well except for one thing. When the client
> box connects, it is able to establish a route to 192.168.1.X via the tun
> device as a part of the vtund.conf file setup. I can't figure out how to
> have the server (running vtund) also establish a route to 192.168.0.X via
> the tun device.
>
Add a route command to the vtund.conf file, thus:
XXXXX {
pass XXXXX;
type tun;
proto tcp;
encr yes;
keepalive yes;
compress lzo:9;
up {
ifconfig "%% 192.168.128.141 pointopoint 192.168.141.128 mtu 1000";
route "add -net 192.168.141.0 netmask 255.255.255.0 gw 192.168.141.128"; };
}
|