[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3760: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3762: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
prq.se • View topic - WTB a setup guide for OSx
Page 1 of 1

WTB a setup guide for OSx

PostPosted: Sun Apr 05, 2009 8:20 am
by petter
Hi, I'm trying to set up a connection using Viscosity (have tried Tunnelblick as well) and get stuck after recieving my client IP.

I'm a complete IP-noob so basically I have no idea what I'm doing :) ANyway...

I have imported the config file to create a connection profile. My logfile looks like this (my ip is the right one I have replaced the last digits with XXX):

Sun Apr 5 09:32:20 2009: LZO compression initialized
Sun Apr 5 09:32:20 2009: gw 83.226.48.1
Sun Apr 5 09:32:20 2009: TUN/TAP device /dev/tap0 opened
Sun Apr 5 09:32:20 2009: /sbin/ifconfig tap0 delete
Sun Apr 5 09:32:20 2009: NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Sun Apr 5 09:32:20 2009: /sbin/ifconfig tap0 88.80.28.XXX netmask 255.255.255.0 mtu 1500 up
Sun Apr 5 09:32:20 2009: /Applications/Viscosity.app/Contents/Resources/dnsupalt.py tap0 1500 1593 88.80.28.XXX 255.255.255.0 init
Sun Apr 5 09:32:21 2009: UDPv4 link local (bound): [undef]:xxxx
Sun Apr 5 09:32:21 2009: UDPv4 link remote: 88.80.30.2:xxxx

I have BBB as ISP and checked w them if they have any limitations in using their name server when tunneling, they say they dont have that.

I have checked the Viscosity forums and found something that I speculated could have some impact: As you are using a TAP interface you'll probably want to add a route-delay to your connection (otherwise OpenVPN might try and add the routes before the interface is ready). so I added a "route-delay 40" to my config (seems to make no difference using it or not)

Here are my settings in Viscosity (minus the real values ofc, i have double checked so i use the right numbers for my account)



SO, for some reason my connection halts after I get a Client IP, any ideas?

Re: WTB a setup guide for OSx

PostPosted: Sun Apr 05, 2009 8:39 pm
by w00t242
Hi,

I use Tunnelblick 3.0b10 (since I'm still running Tiger 10.4.11) - and I got mine working.

Let's start by checking your setup. Could you, open Terminal and type: cat ~/Library/openvpn/openvpn.conf ... and paste the contents.

and while you're at it, can you check that your key.txt is properly formated? Type: cat ~/Library/openvpn/key.txt and check that the begining of the line starts with:
"-----BEGIN OpenVPN Static key V1-----"
...
followed by a bunch of jibberish, and ends with
...
"-----END OpenVPN Static key V1-----"

... and nothing else.

(Also, don't paste the contents of the key.txt! as you don't normally give away the key's to your Ferrari to strangers, do you? :-) ...)

Re: WTB a setup guide for OSx

PostPosted: Sun Apr 05, 2009 9:39 pm
by petter
dev tap
remote 88.80.30.2
float 88.80.30.2
port xxxx
comp-lzo
ifconfig 88.80.28.xx 255.255.255.0
route-gateway 88.80.28.1
redirect-gateway def1
secret key.txt
cipher AES-128-CBC

that's my .conf (xxxx instead of my specific port and xx.xx instead of my specific ip - both are the same i got from admins)

Yes, the key.txt is formatted ok:

-----BEGIN OpenVPN Static key V1-----
91df92b0e7c337e27d1e6a408cf17d2c
--snip--
5e578500f995c23a6fc5d7e5e73ddf5e
-----END OpenVPN Static key V1-----

So that seems ok. Ty for helping out.

Re: WTB a setup guide for OSx

PostPosted: Mon Apr 06, 2009 12:45 am
by w00t242

Re: WTB a setup guide for OSx

PostPosted: Tue Apr 07, 2009 3:58 pm
by sTupiD
Hey! I´m a total noob here and I´m sitting on OsX. Can someone plese post a complete guide from beginning to the end on how to install PRQ tunnels on OsX?!?

I don´t understand anything that has been posted in here!??! First I go to "system preferences"? Network? Right?!!?

Thank´s in advance!!! ;)

Re: WTB a setup guide for OSx

PostPosted: Thu Apr 09, 2009 8:33 am
by petter

Re: WTB a setup guide for OSx

PostPosted: Thu Apr 09, 2009 8:44 am
by petter
Here is my Viscosity log: (I can connect through Viscosity now as well)

Thu Apr 9 10:37:43 2009: LZO compression initialized
Thu Apr 9 10:37:43 2009: gw 83.226.48.1
Thu Apr 9 10:37:43 2009: TUN/TAP device /dev/tap0 opened
Thu Apr 9 10:37:43 2009: /sbin/ifconfig tap0 delete
Thu Apr 9 10:37:43 2009: NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Thu Apr 9 10:37:43 2009: /sbin/ifconfig tap0 88.80.AA.AA netmask 255.255.255.0 mtu 1500 up
Thu Apr 9 10:37:43 2009: /Applications/Viscosity.app/Contents/Resources/dnsup.py tap0 1500 1593 88.80.AA.AA 255.255.255.0 init
Thu Apr 9 10:37:43 2009: UDPv4 link local (bound): [undef]:BB
Thu Apr 9 10:37:43 2009: UDPv4 link remote: 88.80.30.2:BB
Thu Apr 9 10:37:53 2009: Peer Connection Initiated with 88.80.30.2:BB
Thu Apr 9 10:38:34 2009: NOTE: unable to redirect default gateway -- VPN gateway parameter (--route-gateway or --ifconfig) is missing
Thu Apr 9 10:38:34 2009: Initialization Sequence Completed

Re: WTB a setup guide for OSx

PostPosted: Fri Apr 10, 2009 8:46 am
by petter
Got it to work now with Tunneblick as well as Viscosity.

I added 88.80.8.3 to my DNS and voila, it works.

I cant see any difference in me having "Set Nameserver" ticked or not in Tunnelblick. Works with both.

Ths for help :)

Re: WTB a setup guide for OSx

PostPosted: Sat Apr 11, 2009 12:41 am
by w00t242