Hi,
I have configured a VPN connection to a remote router which connects ok. I can ping the remote router IP, but cannot ping any other IP on their network.
I have put this down to needing a route added. I can manually type
# route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0
and all works like I want it to, but I really need this to be automatic everytime the connection starts.
I have tried following
http://pptpclient.sourceforge.net/ro...utomatic-setup but cant get it to work. The file is called /etc/ppp/ip-up.d/routing and has execution priviledges (755) so ive hit a dead end. Ive even tried shrinking the file down to
#!/bin/sh
if [ "${PPP_IPPARAM}" = "tunnel" ]; then
/sbin/route add -net 192.168.1.0/24 dev ${IFNAME}
fi
But still nothing
Hope you can help.
Dave
Debian Lenny 2.6.26-2-686 base install (no desktop) with all updates
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.05.xx
netmask 255.255.255.0
gateway 192.168.05.xx
auto ppp0
iface ppp0 inet ppp
provider host1
/etc/ppp/options.pptp
lock
noauth
refuse-pap
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
require-mppe-128
/etc/ppp/peers/host1
pty "pptp ipofremotehost --nolaunchpppd"
name loginname1
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam host1
persist