VPNC Route Help?

This is a discussion on VPNC Route Help? within the Android Forum forums, part of the Droid Discussions category; So I inadvertently killed my D1 by drowning it in a river and work sent me a new D3. With a rooted D1, I was ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: VPNC Route Help?

  1. Droid
    ChezJfrey's Avatar
    Member #
    215999
    Join Date
    Aug 2011
    Posts
    40
    Liked
    3 times
    Phone
    Moto Droid
    #1

    VPNC Route Help?

    So I inadvertently killed my D1 by drowning it in a river and work sent me a new D3.

    With a rooted D1, I was able to get VPNC to a Cisco working and <whisper>WiFi tether; I wanted the same usability in the D3. A little trickier getting things set up, but I'm just about there.

    With wonderful resources like you people, found a radio tweak, and also that the D3 has tun built in (can see dev/net/tun), so with VPNC widget, got connected, see our Cisco banner text and issued IP in the VPNC log.

    However, once connected to VPN, I can't access internet and can't ping any of our internal IPs either...I think my routes are wrong.

    But, I don't know enough about setting up the routing table and was hoping someone could steer me in the right direction? I would like to manually adjust them, see if it works, then hopefully script it for after connection.

    Not sure what anyone might need, but I'll start with this:

    Before...

    ip route list
    66.174.201.64 dev ppp0 scope link
    66.174.201.64 dev ppp0 proto kernel scope link src 10.251.3.122
    default via 66.174.201.64 dev ppp0

    netcfg
    lo UP 127.0.0.1 255.0.0.0 0x00000049
    usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    gether0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    ip6tnl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    tun DOWN 0.0.0.0 0.0.0.0 0x00001002
    ppp0 UP 10.251.3.122 255.255.255.255 0x000010d1


    After VPN connected...

    66.174.201.64 dev ppp0 scope link
    66.174.201.64 dev ppp0 proto kernel scope link src 10.251.3.122
    default via 66.174.201.64 dev ppp0


    netcfg
    lo UP 127.0.0.1 255.0.0.0 0x00000049
    usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    gether0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    ip6tnl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    tun DOWN 0.0.0.0 0.0.0.0 0x00001002
    tun0 UP 192.168.144.8 255.255.255.255 0x000010d1
    ppp0 UP 10.251.3.122 255.255.255.255 0x000010d1

    I appreciate anyone taking the time to help me out.

    (Edited to correct format and improve readability...no idea how that happened)
    Last edited by ChezJfrey; 01-11-2012 at 09:19 PM.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid
    ChezJfrey's Avatar
    Member #
    215999
    Join Date
    Aug 2011
    Posts
    40
    Liked
    3 times
    Phone
    Moto Droid
    #2
    Update...

    Apparently, I found my busybox wasn't symlinked properly, so things like grep weren't working...that's why the usual vpnc-script file wasn't updating routes as it normally would. Updated bb and after connecting with VPNC, I now get:

    ip route list
    <myciscoip> via 66.174.201.64 dev ppp0 src 10.242.253.151 mtu 1500
    advmss 1460
    66.174.201.64 dev ppp0 scope link
    66.174.201.64 dev ppp0 proto kernel scope link src 10.242.253.151
    default dev tun0 scope link

    netcfg
    lo UP 127.0.0.1 255.0.0.0 0x00000049
    usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    gether0 DOWN 0.0.0.0 0.0.0.0 0x00001002
    sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    ip6tnl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
    tun DOWN 0.0.0.0 0.0.0.0 0x00001002
    ppp0 UP 10.242.253.151 255.255.255.255 0x000010d1
    tun0 UP 192.168.144.5 255.255.255.255 0x000010d1

    Unfortunately, I still can't reach internet or ping any of our internal IPs? Like I said, I don't know enough about TCP route configuration to know what's missing/wrong from the phone's routing table.

    Anyone with some insight?
  4. Droid
    ChezJfrey's Avatar
    Member #
    215999
    Join Date
    Aug 2011
    Posts
    40
    Liked
    3 times
    Phone
    Moto Droid
    #3
    Interesting...came across this: Post Froyo VPN Issues - Android Forums

    They could connect to VPN if using WiFi, but not 3g. So, I tried connecting to my home WiFi, then VPN to work Cisco on phone...voila! Works fine...ping internal work IPs, facebook is blocked in browser due to our WebSense...just as expected.

    So, can't VPN over 3g connection just yet....

Sponsors

Posting Permissions

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

Similar Threads

  1. Cheap route??
    By CyberKing419 in forum Droid General Discussions
    Replies: 2
    Last Post: 09-18-2011, 12:23 PM
  2. Tun.ko and get-a-robot-vpnc (VPN Connections)
    By Tekz08 in forum Liberty ROM DX
    Replies: 6
    Last Post: 02-03-2011, 05:58 PM
  3. 2.2 and VPNC
    By rweddy1 in forum Android Roms
    Replies: 2
    Last Post: 01-23-2011, 04:45 PM
  4. VPNC on D2G
    By patricrawley in forum Droid 2 Global
    Replies: 1
    Last Post: 01-13-2011, 02:44 PM
  5. Custom route for GPS
    By borge12 in forum Droid General Discussions
    Replies: 2
    Last Post: 11-16-2009, 06:16 PM

Search tags for this page

android 3g internet access vpnc widget
,

android vpnc widget forums

,
correct route table for connection to vpnc over tether
,
droid razr using vpnc
,
how to set vpnc widget
,
route vpnc
,

vpnc android

,
vpnc android verizon
,
vpnc for droid razr
,
vpnc razr
,
vpnc route android
,

vpnc routes

,
vpnc routing problem android
,
vpnc verizon
,
?????? vpnc ??????????????????
Click on a term to search our site for related topics.

Tags for this Thread