Originally Posted by
fulldamage
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
Code:
#!/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
Code:
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