Results 1 to 3 of 3

Thread: route in wl-500g

  1. #1

    route in wl-500g

    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

  2. #2
    Join Date
    May 2004
    Location
    Moscow, Russia
    Posts
    50
    Quote 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

  3. #3
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    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...

Similar Threads

  1. default route on a br0 interface? how?
    By xtraya in forum WL-500g Q&A
    Replies: 4
    Last Post: 07-07-2005, 09:11
  2. Sagem 908 problem (IP route)
    By DanielPharos in forum WL-500g Q&A
    Replies: 0
    Last Post: 17-04-2005, 20:46
  3. static route - problem
    By sleuther in forum WL-500g Q&A
    Replies: 5
    Last Post: 02-11-2004, 10:09
  4. Route ports
    By Holli in forum WL-500g Q&A
    Replies: 4
    Last Post: 16-08-2004, 12:01
  5. No route from wan to lan after Quicksetup
    By Wino in forum WL-500g Q&A
    Replies: 12
    Last Post: 15-07-2004, 21:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •