The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Anyone else using Linksys WRV54G IPSec with OS X (http://hintsforums.macworld.com/showthread.php?t=40920)

legacyb4 05-01-2007 07:13 PM

Testing this out from a hotel room and I get:

Quote:

Connection Information:
-----------------------

Connecting as user: legacyb4, (uid=0)
Connecting to WRV54G VPN Gateway called my.home.network at IP Address 70.68.xx.xxx
Network protected by VPN gateway: 192.168.1.0/24
Using the wireless ethernet, en1. Local Address: 192.168.90.100

-----------------------

Connecting to WRV54G via https to authenticate user

curl: (7) couldn't connect to host
Connection completed. Configuring IPSec.
Configuration files built. Setting IPSec key information
Starting IPSec conection server, racoon.
Foreground mode.
Any idea why curl is erroring out?

gcdone 07-27-2007 01:23 PM

How do I add the script
 
Hello, I downloaded the script, however I have know idea where to put it on my mac. Please send me some procedures in order to make this happen.

thank you:(

csalzman 09-16-2008 04:41 PM

Please Help - wrvinit.sh not working.
 
I have tried and tried. seems to connect, but I cannot connect to remote resource, here is what I get..question will follow:


cs:~ csalzman$ cd Desktop
cs:Desktop csalzman$ sudo sh wrvinitc.sh
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 152 0 152 0 0 24 0 --:--:-- 0:00:06 --:--:-- 38
line 3: syntax error at [any]
parse failed, line 3.
Foreground mode.
2008-09-16 13:38:23: [18831] INFO: ***** racoon started: pid=18831 started by: 18818
2008-09-16 13:38:23: [18831] INFO: @(#) racoon / IPsec-tools
2008-09-16 13:38:23: [18831] INFO: @(#)This product linked OpenSSL 0.9.7l 28 Sep 2006 (http://www.openssl.org/)
2008-09-16 13:38:23: [18831] DEBUG: call pfkey_send_register for AH
2008-09-16 13:38:23: [18831] DEBUG: call pfkey_send_register for ESP
2008-09-16 13:38:23: [18831] DEBUG: call pfkey_send_register for IPCOMP
2008-09-16 13:38:23: [18831] DEBUG: ===== parse config
2008-09-16 13:38:23: [18831] DEBUG: reading config file /etc/racoon/wrv_racoon.conf
2008-09-16 13:38:23: [18831] WARNING: /etc/racoon/wrv_racoon.conf:31: "support_mip6" it is obsoleted. use "support_proxy".
2008-09-16 13:38:23: [18831] ERROR: /etc/racoon/wrv_racoon.conf:42: "32" syntax error
2008-09-16 13:38:23: [18831] ERROR: fatal parse failure (1 errors)
racoon: failed to parse configuration file.
cs:Desktop csalzman$

A couple of things: I am running Leopard.

sudo /.wrvinit.sh does not work, but sudo sh wrvinit.sh does.
I cannot connect to remote resource, which is a Windows box, off of my WRV54G running 2.39.2 firmware.

Please, any help appreciated. If I log onto my router, it says I have a connection, but I cannot connect to a shared resource, or even see the remote box.


Thanks

zpurcey 01-25-2009 06:44 PM

0.93 - Couple of udpates to the Curl wrvinit.sh version
 
# 0.93 01/25/09 - Switched to ifconfig for linux compatibility
# - Added lookup for USB WAN card (ppp0 interface)
# - Tested with WRV200 and WRV54G
# - Hardware Version: WRTR-147G_V02
# - Software Version: 1.0.39
# - Update by Andrew Purcell zpurcey@gmail.com

Download here:
http://sites.google.com/a/signature-...attredirects=0

I am running 2.39.2 software on the WRV54G. See above for details for the hw/sw on the WRV200.

Thanks to the original author Todd Ignasiak and other contributing!

Cheers,

Andrew.

tji 08-12-2009 07:51 PM

Hi.. I originally started this thread & made the script. I had switched to a different VPN device a long time ago, which recently failed and I put the old WRV54G back into action.

I'm wondering if anyone else is still using this script?

I upgraded the firmware in my WRV45G to 2.39.2e, and found that it will no longer complete IPSec sessions when the client is passing through a NAT gateway. I could swear it worked through NAT before.

Description of what I'm seeing, for others debugging problems:
When I look at the firewall logs, I see the WRV54G dropping the IKE packet. The IPSec spec said IKE was supposed to have both Source and Destination port of 500.. I have no clue why they would require that, but the WRV54G appears to enforce it. It drops any IKE packet without a source port of 500. If I connect via a connection that is not NAT'd, my IKE packets have SRC and DST port 500 and it works fine.

msneed 08-13-2009 05:05 PM

Hi
 
Sorry if i'm in the wrong place, however i am new to this and am trying to learn. I am hopeing someone can help. I think someone has been accessing my macbook with unix. I found this in the in the register. It looks to me like someone has been accessing it from a local address. Can anyone tell me what they see?


Routing tables

Internet*:‬
Destination* ‬Gateway* ‬Flags* ‬Refs* ‬Use* ‬Netif Expire
default* ‬home* ‬UGSc* ‬25* ‬14* ‬en1
127* ‬localhost* ‬UCS* ‬0* ‬0* ‬lo0
localhost* ‬localhost* ‬UH* ‬0* ‬1497* ‬lo0
169.254* ‬link#4* ‬UCS* ‬0* ‬0* ‬en1
192.168.1* ‬link#4* ‬UCS* ‬3* ‬0* ‬en1
192.168.1.65* ‬localhost* ‬UHS* ‬2* ‬516* ‬lo0
192.168.1.73* ‬0:26:4a:cb:bc:72* ‬UHLW* ‬0* ‬43* ‬en1* ‬479
home* ‬0:23:51:34*:‬b8:81* ‬UHLW* ‬36* ‬184* ‬en1* ‬1184
192.168.1.255* ‬link#4* ‬UHLWb* ‬3* ‬233* ‬en1

Internet6*:‬
Destination* ‬Gateway* ‬Flags* ‬Netif Expire
localhost* ‬link#1* ‬UHL* ‬lo0
fe80*::%‬lo0* ‬localhost* ‬Uc* ‬lo0
localhost* ‬link#1* ‬UHL* ‬lo0
fe80*::%‬en1* ‬link#4* ‬UC* ‬en1
melody-sneeds-imac 0:23:12:1b:c3*:‬a8* ‬UHL* ‬lo0
ff01*:: ‬localhost* ‬U* ‬lo0
ff02*:: ‬localhost* ‬UC* ‬lo0
ff02*:: ‬link#4* ‬UC* ‬en1


All times are GMT -5. The time now is 08:04 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.