fulldamage
23-02-2005, 13:15
my VPN server is not a gateway
I change gateway address to the VPN server address and have added routing there manually
but If I select PPTP in the connection type routing don’t load
help me people
thanks
my VPN server is not a gateway
I change gateway address to the VPN server address and have added routing there manually
but If I select PPTP in the connection type routing don’t load
help me people
thanks
That is exactly my situation. My provider gives me static address from private network (IP=192.168.X.Y, NM=255.255.255.0, GW=192.168.G.W) and realworld address of VPN server (VPN_IP=A.B.C.D). I am using custom Oleg's firmware version 1927-CR3c.
My solution was:
In web Interface select PPTP as option, put IP as Ip address, and A.B.C.D (VPN server address) as Gateway. Save it and restart the router.
using telnet, created /usr/sbin/post-boot with foolowing lines in it
#!/bin/sh
route add -net 192.168.X.0 netmask 255.255.255.0 eth1
route add A.B.C.D gw 192.168.G.W eth1
and enabled boot-local as
chmod a+x /usr/local/sbin/post-boot
flashfs save
flashfs commit
flashfs enable
restarted router.
After that A.B.C.D is pingable and pppd happily establish connection.
I don't know why, but I failed to add neccessary routes through web-interface, through routing page. But anyway it is working this way and it is fine for me.
HTH
Roofcat
Well, the problem is what firmware applies these routes to the external interface (which brings up upon connection), not the one used to communicate with PPTP server...