a0ae VPNC - Cisco IP Bad Keyword - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

Networking Network related discussions (including general TCP/IP stuff, routing, etc).

Reply
 
Thread Tools Display Modes
  #1  
Old February 28th, 2011, 21:59
BarryCarlyon BarryCarlyon is offline
Junior Member
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default VPNC - Cisco IP Bad Keyword

Just did a Google for a FreeBSD VPN client: found vpnc, installed and configured it. Ran and this is the result:
Code:
[root@Katie ~]# vpnc
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: link
usage: route [-dnqtv] command [[modifiers] args]
ifconfig: ioctl (set mtu): Invalid argument
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
ip: bad keyword: route
usage: route [-dnqtv] command [[modifiers] args]
VPNC started in background (pid: 49838)...
I do an ifconfig and I can see the tun0 and its IP, but I connect to the VPN on my other machine (MacOS) fine and cannot ping the FreeBSD box, nor can the FreeBSD box ping anything else; resolv.conf has the nameserver for the vpn network defined within it automagically by vpnc.

So looking for some help/advice and or a solution heres my uname -a:

Code:
FreeBSD Katie 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Last edited by DutchDaemon; March 1st, 2011 at 00:07. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old March 1st, 2011, 12:24
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

How is any one supposed to tell what is going wrong if they do not have access to the config file? Guess?
Reply With Quote
  #3  
Old March 1st, 2011, 12:45
BarryCarlyon BarryCarlyon is offline
Junior Member
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My apologies:

Code:
$ cat /usr/local/etc/vpnc.conf
IPSec gateway AN_IP_ADDRESS
IPSec ID THE_GROUP_NAME
IPSec secret THE_GROUP_PASS
Xauth username BCarylon
Xauth password MY_PASSWORD
Vendor cisco
Yes the cisco admin spelt my name wrong. I replaced sensitive info with all_caps

Last edited by DutchDaemon; March 1st, 2011 at 14:49. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco Aironet 350 PCMCIA Issues dead_rabbit Peripheral Hardware 2 March 11th, 2011 19:59
[Solved] new to wireless. With a cisco syslink wusb600n. ericturgeon System Hardware 12 September 24th, 2010 17:26
[Solved] bad display name unxppl X.Org 5 December 16th, 2009 23:44
DOT1Q between FBDS7.2 (on vmware) and Cisco 3750 nikorun Networking 6 September 10th, 2009 08:27


All times are GMT +1. The time now is 10:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0