I have configured one tomato as server and other as client.
I want client do route to server only for access to server intranet and one (or more) specific host(s).
Server router IP 192.168.1.1
Client router IP 192.168.2.1
Start with WAN yes
Server Address ok
user and pass ok
Stateless MPPE connection no
Accept DNS configuration disabled
Redirect Internet traffic no
Remote subnet / netmask 192.168.0.0 / 255.255.0.0
Create NAT on tunnel yes
All is working - . But I need to route one specific host through new ppp0 interface.
This is working when I run "route add -host (specific IP) dev ppp0"
But this entry vanish from route table after some time (several hours) - probably after some reconnect.
In "static routes" there is no possibility to configure ppp0 interface…
In "PPTP Client Configuration" is box "Custom Configuration" - is there possibility to add additional route for host through new created interface? (I was no able to find description of this box)
How to make route which will stay there?
Thankes for all information :)