joe a ᅵcrit :
Poptop runs on the PPTP server, and you want this on the PPTP client.
PPTP uses the PPP protocol which in turn uses the IPCP protocol to pass
IPv4 parameters, and I don't know any IPCP options allowing the server
to "push" routes to the client like OpenVPN does. On the client side, if
it uses pppd you can add a command in the script /etc/ppp/ip-up or
create a script in /etc/ppp/ip-up.d/ to add the route to your office
subnet when the PPTP link is up. On Debian I would do this :
/etc/ppp/ip-up.d/pptp :
#!/bin/bash
# Environnement variables :
# Variable Name Example
# PPP_IFACE Interface name ppp0
# PPP_TTY The tty ttyS1
# PPP_SPEED The link speed 38400
# PPP_LOCAL Local IP number 12.34.56.78
# PPP_REMOTE Peer IP number 12.34.56.99
# PPP_IPPARAM Optional "ipparam" value foo
# match the ipparam string in pppd options if you have several peers
if [ $PPP_IPPARAM == "pptp_office" ]; then
ip route add <office_subnet> dev $PPP_IFACE
fi
Then you should ask in a Windows networking newsgroup.
If there is no other solution, you can add the route manually after the
PPTP connexion is established, even though it is not very convenient.