Recommended Posts

Hi 

 

I'm trying to configure OpenVPN by following http://www.securitykiss.com/resources/tutorials/conf_linux_nm/ubuntu/. I followed the steps as mentioned but when I connect (wifi icon in taskbar > VPN connections > Security Kiss) it connects(as per the status notification) but I dont have access to internet, I cant browser. All the files all in /home/koshur/securitykiss_winopenvpn_client02832283 and I've uncommented the server in openvpn.conf file. The guide on Ubuntu help page shows the command line method :https://help.ubuntu.com/lts/serverguide/openvpn.html. I was looking to do it through network connections GUI though.

 

I think I'm missing something???

 

post-431588-0-24653200-1385831590.png post-431588-0-25338000-1385831637.png

post-431588-0-65990300-1385831573.png post-431588-0-26214800-1385831571.png

 

 

Thanks
Mark

Well for starters from the config your showing

proto udp

but then in that gui you have use tcp connection checked.

edit:

Ok in the readme.txt it states

In openvpn.conf uncomment the server you want to connect to and update the 'proto' line:

-tcp when port 443 is used

-udp when port 123 is used

So you didn't update the proto line?

Where would i find the log file. path? 

 

Here's what inside conf file

client
pull
dev tun
proto tcp
# Uncomment the server you want to connect to
#remote 184.154.116.157 123 # United States, Chicago
remote 184.154.116.157 443 United States, Chicago
#remote 184.154.116.157 5353 # United States, Chicago
#remote 184.154.116.157 5000 # United States, Chicago
#remote 217.147.94.149 123 # United Kingdom, Maidenhead
#remote 217.147.94.149 443 # United Kingdom, Maidenhead
#remote 37.59.65.55 123 # France, Paris
#remote 37.59.65.55 443 # France, Paris
#remote 176.31.215.0 123 # France, Paris
#remote 176.31.215.0 443 # France, Paris
#remote 46.165.221.230 123 # Germany, Darmstadt
#remote 46.165.221.230 443 # Germany, Darmstadt
#remote 176.31.32.106 123 # France, Paris
#remote 176.31.32.106 443 # France, Paris
#remote 91.121.166.108 123 # France, Paris
#remote 91.121.166.108 443 # France, Paris
#remote 46.165.197.1 123 # Germany, Frankfurt
#remote 46.165.197.1 443 # Germany, Frankfurt
#remote 64.251.22.13 123 # United States, Miami
#remote 64.251.22.13 443 # United States, Miami
#remote 64.251.22.13 5353 # United States, Miami
#remote 64.251.22.13 5000 # United States, Miami
#remote 31.24.33.221 123 # United Kingdom, Newcastle
#remote 31.24.33.221 443 # United Kingdom, Newcastle
#remote 62.75.181.139 123 # Germany, Bonn
#remote 62.75.181.139 443 # Germany, Bonn
#remote 109.75.167.42 123 # United Kingdom, Leeds
#remote 109.75.167.42 443 # United Kingdom, Leeds
#remote 78.129.174.84 123 # United Kingdom, London
#remote 78.129.174.84 443 # United Kingdom, London

resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3
keepalive 5 28
route-delay 3
win-sys env
  On 03/12/2013 at 15:46, BudMan said:

Well looks like you got a connection and IP there..

I would change your conf file to be at verb 3 at min, and then lets take a look at the log.

 

verb 3 at min?

It is there in the file - this determines the logging level verbosity.

As to path of connection, I believe since your using the connection manager plugin that it would be in your syslog?? Don't quote me on that I would have to fire up using openvpn with gui like your doing, etc.

You should be able to just grep for it, something like

cat /var/log/syslog | grep VPN

I will have to look to what I got in config file when I setup a free account with that provider, not sure why

win-sys env

should be in a linux opvn file?

OK -- I just downloaded the linux bundle from them and there is no opvn file included.. Your just suppose to setup the network manager with the specific info. So if you have a openvpn configuration file that is meant for windows in your linux system, that could be causing you a problem.

I will have to fire up my desktop ubuntu vm and get a test run. But that might be your problem. I would start over and make sure you grab the linux configuration bundle for openvpn. It only includes you ca.crt the client.crt and the client.key with a readme of the servers to use udp or tcp, etc.

these are the instructions your following?

http://www.securitykiss.com/resources/tutorials/conf_linux_nm/ubuntu/


koshur@koshur-HP-ProBook-4530s:~$ cat /var/log/syslog | grep VPN

Dec 3 20:05:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp

Dec 3 20:05:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn

Dec 3 20:08:32 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> Starting VPN service 'openvpn'...

Dec 3 20:08:32 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3156

Dec 3 20:08:32 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' appeared; activating connections

Dec 3 20:08:32 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: starting (3)

Dec 3 20:08:32 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (Connect) reply received.

Dec 3 20:08:32 koshur-HP-ProBook-4530s nm-openvpn[3159]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013

Dec 3 20:08:52 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) reply received.

Dec 3 20:08:52 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN Gateway: 184.154.116.157

Dec 3 20:08:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) complete.

Dec 3 20:08:56 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: started (4)

Dec 3 20:10:16 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 2

Dec 3 20:10:16 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 1

Dec 3 20:10:16 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: stopped (6)

Dec 3 20:10:16 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state change reason: 0

Dec 3 20:10:16 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Dec 3 20:10:22 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' disappeared

Dec 3 20:10:30 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> Starting VPN service 'openvpn'...

Dec 3 20:10:30 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3445

Dec 3 20:10:30 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' appeared; activating connections

Dec 3 20:10:30 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: starting (3)

Dec 3 20:10:30 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (Connect) reply received.

Dec 3 20:10:30 koshur-HP-ProBook-4530s nm-openvpn[3448]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013

Dec 3 20:10:51 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) reply received.

Dec 3 20:10:51 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN Gateway: 184.154.116.157

Dec 3 20:10:54 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) complete.

Dec 3 20:10:54 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: started (4)

Dec 3 20:12:18 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 2

Dec 3 20:12:18 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 1

Dec 3 20:12:18 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: stopped (6)

Dec 3 20:12:18 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state change reason: 0

Dec 3 20:12:18 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Dec 3 20:12:24 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' disappeared

Dec 3 22:16:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> Starting VPN service 'openvpn'...

Dec 3 22:16:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 7787

Dec 3 22:16:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' appeared; activating connections

Dec 3 22:16:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: starting (3)

Dec 3 22:16:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (Connect) reply received.

Dec 3 22:16:01 koshur-HP-ProBook-4530s nm-openvpn[7790]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013

Dec 3 22:16:26 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) reply received.

Dec 3 22:16:26 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN Gateway: 184.154.116.157

Dec 3 22:16:29 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) complete.

Dec 3 22:16:29 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: started (4)

Dec 3 22:17:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 2

Dec 3 22:17:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 1

Dec 3 22:17:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: stopped (6)

Dec 3 22:17:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state change reason: 0

Dec 3 22:17:55 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Dec 3 22:18:01 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' disappeared

Dec 3 22:18:11 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> Starting VPN service 'openvpn'...

Dec 3 22:18:11 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 8124

Dec 3 22:18:11 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' appeared; activating connections

Dec 3 22:18:11 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: starting (3)

Dec 3 22:18:11 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (Connect) reply received.

Dec 3 22:18:11 koshur-HP-ProBook-4530s nm-openvpn[8127]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013

Dec 3 22:18:34 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) reply received.

Dec 3 22:18:34 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN Gateway: 184.154.116.157

Dec 3 22:18:38 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN connection 'SecurityKiss' (IP Config Get) complete.

Dec 3 22:18:38 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: started (4)

Dec 3 22:20:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 2

Dec 3 22:20:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> VPN plugin failed: 1

Dec 3 22:20:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state changed: stopped (6)

Dec 3 22:20:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN plugin state change reason: 0

Dec 3 22:20:02 koshur-HP-ProBook-4530s NetworkManager[1370]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

Dec 3 22:20:08 koshur-HP-ProBook-4530s NetworkManager[1370]: <info> VPN service 'openvpn' disappeared

  On 03/12/2013 at 17:01, Koshur said:
From a quick read of that bugreport yes, I would try the work around listed in post #19



I confirm this same bug in Ubuntu 12.04 LTS Precise Pangolin. The same workaround works:

Steps to workaround:

1. Change filename of /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper
cd /usr/lib/NetworkManager/
mv nm-openvpn-service-openvpn-helper nm-openvpn-service-openvpn-helper.dist

2. Create new file with same old name:
nano nm-openvpn-service-openvpn-helper

3. Fill the file with variables to export and original executable. Copy and paste this:

#!/bin/bash

[ -z "$ifconfig_local" ] && export ifconfig_local=$4
[ -z "$ifconfig_remote" ] && export ifconfig_remote=$5

/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper.dist $*

4. Make the new file executable:
chmod +x nm-openvpn-service-openvpn-helper

Now it works!
tags: 	added: precise 

ok, i followed the steps and here's what the files look now:

root@koshur-HP-ProBook-4530s:/usr/lib/NetworkManager# ls
debug-helper.py                    nm-dispatcher.action
ifblacklist_migrate.sh             nm-openvpn-auth-dialog
libnm-openvpn-properties.so        nm-openvpn-service
libnm-pptp-properties.so           nm-openvpn-service-openvpn-helper
libnm-settings-plugin-ifupdown.so  nm-openvpn-service-openvpn-helper.dist
nm-avahi-autoipd.action            nm-openvpn-service-openvpn-helper.dist $*
nm-crash-logger                    nm-pptp-auth-dialog
nm-dhcp-client.action              nm-pptp-service

post-431588-0-24636900-1386160903.png

 

Now, when i try to connect, It says VPN connection failed

ok - I just went through this on my ubuntu 13.10 desktop.. Followed the instructons and bing bang working just fine

post-14624-0-24917100-1386181242.png

Did not have to do anything with that bug, etc. etc. Only thing I had to do that was not covered in the instructions is my client.key when I untared it from tar.gz file was set to 700, and was not showing up in the dialog.. So changed it to 755 and it showed up so I could pick it.

Bing bang zoom working just fine.. I would suggest you start over.. using openvpn with the network manager does not require a opvn file like you showed, and what I pulled at first with the windows configuration.

if you have some sort of conf or opvn file for openvpn -- like you showed, maybe that is what is causing you the issues?

This took all of 2 minutes to setup following their instructions. Can see I am going through their servers

post-14624-0-39978900-1386181641.png

edit: So been connected this whole time, moved some data through the vpn. Seems pretty stable, etc.

post-14624-0-35414100-1386189826.png

BAZINGAAA....it worked! I purged the package with apt-get purge openvpn and did the installation all over... btw the ping is pathetic (~200ms on most of the gateways, which is bearable coz i'll mostly need it for testing purpose)

 

Cheers mate

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Scientists uncover bizarre new material that's breaking one of the laws of this Universe by Sayan Sen Image by Ron Lach via Pexels Scientists from the University of Chicago and UC San Diego have discovered a group of materials that behave in surprising ways when put under heat, pressure or electricity. Instead of responding like most materials, these can shrink when heated, expand when compressed, and even bounce back to their original state with the right electric charge. The work focuses on oxygen-redox (OR) materials—types that can help batteries store more energy but typically suffer from stability problems due to structural disorder. In their normal state, the materials follow the usual rules of thermodynamics. But in what's called a “metastable” state, a kind of temporary balance, they behave in reverse. “When heated, the material shrinks instead of expanding,” said Prof. Shirley Meng, senior author of the study published in Nature. This is linked to what’s known as a disorder–order transition inside the material’s structure. The team recorded a negative thermal expansion rate of −14.4(2) × 10⁻⁶ °C⁻¹, which means the material actually contracts when warmed up. This goes against a common theory called the Grüneisen relationship, which usually explains why materials expand with heat. And pressure? Even stranger. When they pushed the material on all sides at levels seen in Earth's tectonic plates, it expanded instead of getting smaller. “Negative compressibility is just like negative thermal expansion,” explained Prof. Minghao Zhang. “If you compress a particle of the material in every direction… it will expand.” They also found that electricity can reset the material’s structure. By tweaking the voltage limits, they recovered almost 100% of the original structure and performance. This has big potential for battery tech, especially electric vehicles (EVs). “When we use the voltage, we drive the material back to its pristine state. We recover the battery,” said Zhang. He added: “You just do this voltage activation… your car will be a new car. Your battery will be a new battery.” The research may lead to materials with zero thermal expansion, helpful in everything from buildings to aircraft. Zhang noted, “Take every single building, for example. You don't want the materials making up different components to change volume that often.” As they move forward, the team wants to understand how redox chemistry can further control these effects and expand practical uses. “One of the goals is bringing these materials from research to industry,” said co-first author Bao Qiu. Their work opens up a new way of thinking about material design, where energy doesn’t just power devices, but reshapes the building blocks themselves. Source: University of Chicago, Nature This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
    • "Elon Musk says a kid-friendly 'Baby Grok' is on the way" No kid wants to be a baby anymore. "Kid friendly" I would have named it "Kid Grok"
    • TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 is just $135 by Sayan Sen If you’re juggling gaming consoles, 4K streams and a growing roster of smart devices, the TP-Link Archer GXE75 Tri-Band AXE5400 Wi-Fi 6E Gaming Router is a good option to look at right now, considering the device is currently on sale at just $135 (purchase link under the specs table below). The Archer GXE75 promises up to 5.4 Gbps of throughput across three bands: 574 Mbps on 2.4 GHz, 2402 Mbps on 5 GHz and 2402 Mbps on 6 GHz (HE160 channels enabled). A 2.5 Gbps WAN/LAN port pairs with three 1 Gbps LAN ports and a USB 3.0 port for fast file sharing or printer access (purchase link down below). The quad-core CPU and 512 MB of RAM should help to handle multiple streams without bogging down, while MU-MIMO, OFDMA and 1024-QAM improve efficiency when several devices connect simultaneously. The router’s built-in Game Accelerator engine is said to automatically prioritize gaming packets (both wired and wireless), and TP-Link’s GPN (Gamers Private Network) acceleration can reduce packet loss for supported titles. HomeShield security brings firewall protection, device quarantining and parental controls. The technical specifications of the router are given below: Specification Details Wireless Standards IEEE 802.11ax 6 GHz; IEEE 802.11ax/ac/n/a 5 GHz; IEEE 802.11ax/n/g/b 2.4 GHz Wi-Fi Speeds 6 GHz: 2402 Mbps (802.11ax); 5 GHz: 2402 Mbps (802.11ax); 2.4 GHz: 574 Mbps (802.11ax) Spatial Streams 6 streams (tri-band OFDMA/MU-MIMO) Processor 1.7 GHz 64-bit Quad-Core CPU Memory 512 MB high-speed RAM Ethernet Ports 1× 2.5 Gbps WAN/LAN; 1× 1 Gbps WAN/LAN; 3× 1 Gbps LAN USB 1× USB 3.0 SuperSpeed port (up to 10× faster than USB 2.0) Antennas 4× high-performance external antennas with Beamforming Buttons Power On/Off; Reset; WPS/Wi-Fi; LED On/Off Working Modes Router Mode; Access Point Mode Security WPA, WPA2, WPA3, WPA/WPA2-Enterprise; SPI firewall; Access Control; IP/MAC binding; Application-layer gateway; HomeShield security suite VPN OpenVPN, PPTP, L2TP (server & client); WireGuard (server & client) Software & Services IPv4/IPv6; TP-Link HomeShield; EasyMesh; Parental controls; QoS by device; WAN types (Dynamic IP, Static IP, PPPoE, PPTP, L2TP); DDNS (TP-Link, NO-IP, DynDNS); auto firmware updates Gaming Features Game QoS boost; gaming-port priority; Gamers Private Network acceleration; game-port forwarding; real-time game panel with stats & RGB control Operating Environment 0 °C – 40 °C; 10 %– 90 % non-condensing humidity Get the TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 at the link below: TP-Link Tri-Band AXE5400 Wi-Fi 6E Gaming Router Archer GXE75 | EasyMesh, HomeShield: $159.99 + $25 off with coupon => $134.99 (Sold and Shipped by Amazon US This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Oh no... here we go again. Tha same sh*t that happaned to Mail & Calendar...
  • Recent Achievements

    • Rookie
      Snake Doc went up a rank
      Rookie
    • First Post
      nobody9 earned a badge
      First Post
    • One Month Later
      Ricky Chan earned a badge
      One Month Later
    • First Post
      leoniDAM earned a badge
      First Post
    • Reacting Well
      Ian_ earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      495
    2. 2
      Michael Scrip
      203
    3. 3
      ATLien_0
      197
    4. 4
      Xenon
      137
    5. 5
      +FloatingFatMan
      116
  • Tell a friend

    Love Neowin? Tell a friend!