hi! i have a machine with private 192.168 and a public IP (ppp). i use free s/wan ipsec for a vpn to a similar gateway. the ipsec interface has the same adress as my ppp interface (the public one) but the route thru the interface points to another private 192.168. subnet. my problem is this: programs on one gateway trying to reach a private IP behind the other gateway bind to the (public) addr of the ipsec-interface because of the route there. and that public ip isn't part of the vpn so they can't reach the other side. how can i - based on the destination - force all programs to use the private ip as source? i heard "ip route change" can do this - but the help output doesn't tell me how. thanks! ...Frank -- http://www.gnupg.org | http://xraz.dyndns.org/xraz.gpg.key Fingerpint: C1E1 0A5C 3733 F4F1 D59B 14F7 57C6 1784 8F78 8A2B
Attachment:
pgp00037.pgp
Description: PGP signature