Author Topic: Vpnc Help - Edit: Solved!  (Read 3545 times)

maswell

  • Newbie
  • *
  • Posts: 20
    • View Profile
Vpnc Help - Edit: Solved!
« on: October 12, 2005, 10:46:10 am »
PdaxRom is really impressing me, but the last thing I NEED working on my Z is a cisco compatible vpn client so I can get my Z usable at school.  

I got vpnc installed from here,  but get all sorts of connection errors...They seem to vary.  I think there is a deeper networking issue.

Ive searched around and seen all sorts of stuff about iproute, DNS, and  tun.o modules (wtf is that!?). Im familiar with general networking stuff, but am no expert -- especially with linux.  Any help would be greatly appreciated.
« Last Edit: December 05, 2005, 03:10:43 pm by maswell »

maswell

  • Newbie
  • *
  • Posts: 20
    • View Profile
Vpnc Help - Edit: Solved!
« Reply #1 on: October 16, 2005, 03:36:53 pm »
Bump Please!

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Vpnc Help - Edit: Solved!
« Reply #2 on: October 16, 2005, 04:08:36 pm »
Quote
PdaxRom is really impressing me, but the last thing I NEED working on my Z is a cisco compatible vpn client so I can get my Z usable at school. 

I got vpnc installed from here,  but get all sorts of connection errors...They seem to vary.  I think there is a deeper networking issue.

Ive searched around and seen all sorts of stuff about iproute, DNS, and  tun.o modules (wtf is that!?). Im familiar with general networking stuff, but am no expert -- especially with linux.  Any help would be greatly appreciated.
Giving some details will help you get help. What exactly are the errors? What is your configuration? What are the requirements of your school's connection? Does it use shared secrets? Certificates?

John

maswell

  • Newbie
  • *
  • Posts: 20
    • View Profile
Vpnc Help - Edit: Solved!
« Reply #3 on: October 17, 2005, 04:44:17 pm »
I know it's hard to help, since I'm not familiar with alot of this.  Im learning as I go...

Im using this BU (boston university) config here. Im at BU med, which has a few different settings, but I know those are right.  The error Im getting is DNS related, I think, because it cant resolve the BU vpn server address (although sometimes I get a "port 500 in use" error, which looks generic, since when I run '-debug' I get errors more along the lines of the DNS stuff).  I have no idea how to set up the resolve.conf, if I need to do that.  Im under the impression that you can give the IP for the server name, but I have zero idea what the IP address is.  Its a bit frustrating, since I kind of think I understand what I need to do, but cant figure out (or find) how to do it.  

It'd be helpful if you think this even sounds like Im on the right track...

Thanks again!

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Vpnc Help - Edit: Solved!
« Reply #4 on: October 17, 2005, 04:58:36 pm »
Quote
I know it's hard to help, since I'm not familiar with alot of this.  Im learning as I go...

Im using this BU (boston university) config here. Im at BU med, which has a few different settings, but I know those are right.  The error Im getting is DNS related, I think, because it cant resolve the BU vpn server address (although sometimes I get a "port 500 in use" error, which looks generic, since when I run '-debug' I get errors more along the lines of the DNS stuff).  I have no idea how to set up the resolve.conf, if I need to do that.  Im under the impression that you can give the IP for the server name, but I have zero idea what the IP address is.  Its a bit frustrating, since I kind of think I understand what I need to do, but cant figure out (or find) how to do it. 

It'd be helpful if you think this even sounds like Im on the right track...

Thanks again!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99773\"][{POST_SNAPBACK}][/a][/div]
To find the IP#'s for the vpn gateways at BU

# host vpn-offcampus.bu.edu
vpn-offcampus.bu.edu has address 192.5.206.18

# host vpn-oncampus.bu.edu
vpn-oncampus.bu.edu has address 168.122.80.2

What should be in your /etc/resolv.conf likely depends on whether you are on campus or off. But it should have some nameservers in it to do the DNS magic.

John

maswell

  • Newbie
  • *
  • Posts: 20
    • View Profile
Vpnc Help - Edit: Solved!
« Reply #5 on: December 05, 2005, 03:10:04 pm »
So FINALLY I got this working.  Pretty sure its thanks to RC12 (Thanks!!!)

So, after a reinstall, I ran vpnc and got an error about tun, and it mentioned checking a symlink.

I simply changed the /dev/net/tun symlink from "/misc/net/tun" to "../misc/net/tun"

ln -s ../misc/net/tun tun

and also added a  vpnc directory in /var/run.  

Now my VPNc works with no errors!!! Fan-tastic!
« Last Edit: December 05, 2005, 03:11:51 pm by maswell »