Jump to content
Not connected, Your IP: 3.137.183.14
Sign in to follow this  
bgates

[SOLVED] Having trouble getting started

Recommended Posts

Install OpenVPN package

-Done

Download your configuration file from the page Access without our client

-Done

Decompress the generated "air.zip" file, for example on your desktop.

-Done

Open a terminal console, reach the directory and launch "sudo openvpn air.ovpn" with a terminal console.

-I renamed the long opvn file to air.ovpn, ran the command and it says:

sudo openvpn air.ovpn

[sudo] password for bill:

Thu Sep 6 01:16:48 2012 OpenVPN 2.2.1 x86_64-linux-gnu [sSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [iPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012

Thu Sep 6 01:16:48 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

Thu Sep 6 01:16:48 2012 WARNING: file 'user.key' is group or others accessible

Thu Sep 6 01:16:48 2012 LZO compression initialized

Thu Sep 6 01:16:48 2012 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]

Thu Sep 6 01:16:48 2012 Socket Buffers: R=[229376->131072] S=[229376->131072]

Thu Sep 6 01:16:48 2012 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]

Thu Sep 6 01:16:48 2012 Local Options hash (VER=V4): '22188c5b'

Thu Sep 6 01:16:48 2012 Expected Remote Options hash (VER=V4): 'a8f55717'

Thu Sep 6 01:16:48 2012 UDPv4 link local: [undef]

Thu Sep 6 01:16:48 2012 UDPv4 link remote: [AF_INET]108.59.8.147:443

Thu Sep 6 01:16:48 2012 TLS: Initial packet from [AF_INET]108.59.8.147:443, sid=724e38ea f7bbf897

Thu Sep 6 01:16:48 2012 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.org

Thu Sep 6 01:16:48 2012 VERIFY OK: nsCertType=SERVER

Thu Sep 6 01:16:48 2012 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org

Thu Sep 6 01:16:48 2012 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Thu Sep 6 01:16:48 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Thu Sep 6 01:16:48 2012 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Thu Sep 6 01:16:48 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Thu Sep 6 01:16:48 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA

Thu Sep 6 01:16:48 2012 [server] Peer Connection Initiated with [AF_INET]108.59.8.147:443

Thu Sep 6 01:16:50 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

Thu Sep 6 01:16:50 2012 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.4.0.1,comp-lzo no,route 10.4.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.4.30.134 10.4.30.133'

Thu Sep 6 01:16:50 2012 OPTIONS IMPORT: timers and/or timeouts modified

Thu Sep 6 01:16:50 2012 OPTIONS IMPORT: LZO parms modified

Thu Sep 6 01:16:50 2012 OPTIONS IMPORT: --ifconfig/up options modified

Thu Sep 6 01:16:50 2012 OPTIONS IMPORT: route options modified

Thu Sep 6 01:16:50 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

Thu Sep 6 01:16:50 2012 ROUTE default_gateway=192.168.1.1

Thu Sep 6 01:16:50 2012 TUN/TAP device tun1 opened

Thu Sep 6 01:16:50 2012 TUN/TAP TX queue length set to 100

Thu Sep 6 01:16:50 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0

Thu Sep 6 01:16:50 2012 /sbin/ifconfig tun1 10.4.30.134 pointopoint 10.4.30.133 mtu 1500

Thu Sep 6 01:16:50 2012 /sbin/route add -net 108.59.8.147 netmask 255.255.255.255 gw 192.168.1.1

SIOCADDRT: File exists

Thu Sep 6 01:16:50 2012 ERROR: Linux route add command failed: external program exited with error status: 7

Thu Sep 6 01:16:50 2012 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.4.30.133

SIOCADDRT: File exists

Thu Sep 6 01:16:50 2012 ERROR: Linux route add command failed: external program exited with error status: 7

Thu Sep 6 01:16:50 2012 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.4.30.133

SIOCADDRT: File exists

Thu Sep 6 01:16:50 2012 ERROR: Linux route add command failed: external program exited with error status: 7

Thu Sep 6 01:16:50 2012 /sbin/route add -net 10.4.0.1 netmask 255.255.255.255 gw 10.4.30.133

SIOCADDRT: File exists

Thu Sep 6 01:16:50 2012 ERROR: Linux route add command failed: external program exited with error status: 7

Thu Sep 6 01:16:50 2012 Initialization Sequence Completed

^CThu Sep 6 01:19:31 2012 event_wait : Interrupted system call (code=4)

Thu Sep 6 01:19:31 2012 SIGTERM received, sending exit notification to peer

Thu Sep 6 01:19:31 2012 TCP/UDP: Closing socket

Thu Sep 6 01:19:31 2012 /sbin/route del -net 108.59.8.147 netmask 255.255.255.255

Thu Sep 6 01:19:31 2012 /sbin/route del -net 0.0.0.0 netmask 128.0.0.0

Thu Sep 6 01:19:31 2012 /sbin/route del -net 128.0.0.0 netmask 128.0.0.0

Thu Sep 6 01:19:31 2012 Closing TUN/TAP interface

Thu Sep 6 01:19:31 2012 /sbin/ifconfig tun1 0.0.0.0

Thu Sep 6 01:19:31 2012 SIGINT[hard,] received, process exiting

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

After this I have no idea what to do

Share this post


Link to post

Would the proper method be to run /etc/init.d/openvpn status ?

I did that and nothing came up. I am pretty sure each time I tried connecting, I would do it only once and turn on and off openvpn before attempting again.

Share this post


Link to post

I just did this but it seems nothing has changed as I checked my ip online and its still the same. Am I missing a step?

sudo openvpn air.opvn

[sudo] password for bill:

Thu Sep 6 11:49:22 2012 OpenVPN 2.2.1 x86_64-linux-gnu [sSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [iPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012

Thu Sep 6 11:49:22 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

Thu Sep 6 11:49:22 2012 LZO compression initialized

Thu Sep 6 11:49:22 2012 Control Channel MTU parms [ L:1560 D:140 EF:40 EB:0 ET:0 EL:0 ]

Thu Sep 6 11:49:22 2012 Socket Buffers: R=[87380->131072] S=[16384->131072]

Thu Sep 6 11:49:22 2012 Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:135 ET:0 EL:0 AF:3/1 ]

Thu Sep 6 11:49:22 2012 Local Options hash (VER=V4): '958c5492'

Thu Sep 6 11:49:22 2012 Expected Remote Options hash (VER=V4): '79ef4284'

Thu Sep 6 11:49:22 2012 Attempting to establish TCP connection with [AF_INET]108.59.11.194:443 [nonblock]

Thu Sep 6 11:49:23 2012 TCP connection established with [AF_INET]104.49.11.144:443

Thu Sep 6 11:49:23 2012 TCPv4_CLIENT link local: [undef]

Thu Sep 6 11:49:23 2012 TCPv4_CLIENT link remote: [AF_INET]104.49.11.144:443

Thu Sep 6 11:49:23 2012 TLS: Initial packet from [AF_INET]104.49.11.144:443, sid=f45398f7 853f6983

Thu Sep 6 11:49:23 2012 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.org

Thu Sep 6 11:49:23 2012 VERIFY OK: nsCertType=SERVER

Thu Sep 6 11:49:23 2012 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org

Thu Sep 6 11:49:24 2012 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Thu Sep 6 11:49:24 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Thu Sep 6 11:49:24 2012 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

Thu Sep 6 11:49:24 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

Thu Sep 6 11:49:24 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA

Thu Sep 6 11:49:24 2012 [server] Peer Connection Initiated with [AF_INET]104.49.11.144:443

Thu Sep 6 11:49:26 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

Thu Sep 6 11:49:26 2012 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.5.0.1,comp-lzo no,route 10.5.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.5.0.194 10.5.0.193'

Thu Sep 6 11:49:26 2012 OPTIONS IMPORT: timers and/or timeouts modified

Thu Sep 6 11:49:26 2012 OPTIONS IMPORT: LZO parms modified

Thu Sep 6 11:49:26 2012 OPTIONS IMPORT: --ifconfig/up options modified

Thu Sep 6 11:49:26 2012 OPTIONS IMPORT: route options modified

Thu Sep 6 11:49:26 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

Thu Sep 6 11:49:26 2012 ROUTE default_gateway=192.168.1.1

Thu Sep 6 11:49:26 2012 TUN/TAP device tun0 opened

Thu Sep 6 11:49:26 2012 TUN/TAP TX queue length set to 100

Thu Sep 6 11:49:26 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0

Thu Sep 6 11:49:26 2012 /sbin/ifconfig tun0 10.5.0.194 pointopoint 10.5.0.193 mtu 1500

Thu Sep 6 11:49:26 2012 /sbin/route add -net 1104.49.11.144 netmask 255.255.255.255 gw 192.168.1.1

Thu Sep 6 11:49:26 2012 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 /sbin/route add -net 10.5.0.1 netmask 255.255.255.255 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 Initialization Sequence Completed

Share this post


Link to post

I just did this but it seems nothing has changed as I checked my ip online and its still the same. Am I missing a step?

Thu Sep 6 11:49:23 2012 TCPv4_CLIENT link remote: [AF_INET]104.49.11.144:443

Hello!

The above line shows a clear problem: we have no server with that entry-IP address. How did you generate your configuration file?

Thu Sep 6 11:49:26 2012 /sbin/route add -net 1104.49.11.144 netmask 255.255.255.255 gw 192.168.1.1

Thu Sep 6 11:49:26 2012 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 /sbin/route add -net 10.5.0.1 netmask 255.255.255.255 gw 10.5.0.193

Thu Sep 6 11:49:26 2012 Initialization Sequence Completed

The routes commands are wrong... to begin with, where does that impossible 1104.49.11.144 come from?

Most probably you need to generate a proper configuration file with our configuration generator.

Kind regards

Share this post


Link to post

I was editing the wrong number before posting. Anyways I tried the setup on windows and it works fine. Thanks for AirVPN, its working great! As a request, can you please delete this thread?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...