Jump to content
Not connected, Your IP: 18.116.86.160
Sign in to follow this  
aquax

How to install AirVPN on Linux terminal-only SSH?

Recommended Posts

I wanted to install airvpn software on a linux terminal, but I can't find any tutorials or even commands that I should run, I'm a beginner so I don't know how should I do it without tutorial. I searched around and there is nothing that helped.

 

I don't want to mess around through ftp and move .deb packages to linux, is there a way to run one command and do it all? I read some discussions here and I suppose those people who downloaded openvpn configs had graphical interface.

 

The only thing I did was

 

 

Import our maintainer key for validating signature:
wget -qO - https://eddie.website/repository/keys/eddie_maintainer_gpg.key|sudo apt-key add -
 

 

Couldn't run deb commands because I don't have the deb package.

 

deb http://eddie.website/repository/apt stable main
-bash: deb: command not found
 
sudo apt-get install deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package deb 

 

I tried to download  linux > 64bit > portable > command line, but again, it's just a tar.gz file, there are no commands on how to do it via ssh.
 
Tried to download deb package remotely via SSH, but the link is encrypted or dynamic and not a direct link, also  showing error 500...
/home# wget https://eddie.website/download/?platform=linux&arch=x64&ui=cli&format=portable.tar.gz&version=2.12.4&r=0.8266051129146859
[1] 28514
[2] 28515
[3] 28516
[4] 28517
[5] 28518
[2]   Done                    arch=x64
[3]   Done                    ui=cli
[4]-  Done                    format=portable.tar.gz
[5]+  Done                    version=2.12.4
root@...:~/home# --2017-07-04 02:22:53--  https://eddie.website/download/?platform=linux
Resolving eddie.website (eddie.website)... 2a03:b0c0:2:d0::11b4:6001, 188.166.41.48
Connecting to eddie.website (eddie.website)|2a03:b0c0:2:d0::11b4:6001|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2017-07-04 02:22:53 ERROR 500: Internal Server Error.
 

 

There are like 10 dependencies for this to run and not one command or guide on how to install airvpn easily via terminal... I have to waste my time to reupload .deb file on some file hosting now to download it by using wget...

 

 

 

Instead of 5 minutes this will take me 1 hour now...

 

 

~/home# apt-get install gksu mono-runtime mono-utils libmono-system-runtime2.0-cil libmono-winforms2.0-cil libmono-corlib2.0-cil openvpn stunnel4
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
Package libmono-corlib2.0-cil is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  mono-reference-assemblies-2.0 mono-devel


Package libmono-system-runtime2.0-cil is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  mono-reference-assemblies-2.0 mono-devel


Package libmono-winforms2.0-cil is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  mono-reference-assemblies-2.0 mono-devel


E: Package 'libmono-system-runtime2.0-cil' has no installation candidate
E: Package 'libmono-winforms2.0-cil' has no installation candidate
E: Package 'libmono-corlib2.0-cil' has no installation candidate
 

 

Doing this from this tutorial https://askubuntu.com/a/80593

 

/home# tar xvzf eddie-cli_2.12.4_linux_x64_portable.tar.gz
eddie-cli_2.12.4_linux_x64_portable/
eddie-cli_2.12.4_linux_x64_portable/libgdiplus.so.0
eddie-cli_2.12.4_linux_x64_portable/openvpn
eddie-cli_2.12.4_linux_x64_portable/cacert.pem
eddie-cli_2.12.4_linux_x64_portable/update-resolv-conf
eddie-cli_2.12.4_linux_x64_portable/stunnel
eddie-cli_2.12.4_linux_x64_portable/eddie-cli
eddie-cli_2.12.4_linux_x64_portable/libMonoPosixHelper.so
root@...:~/home# ./configure
-bash: ./configure: No such file or directory
root@...:~/home# cd eddie-cli_2.12.4_linux_x64_portable
root@...:~/home/eddie-cli_2.12.4_linux_x64_portable# ./configure
-bash: ./configure: No such file or directory
 

 

 tar -xzf eddie-cli_2.12.4_linux_x64_portable.tar.gz
root@...:~/home# cd eddie-cli_2.12.4_linux_x64_portable
root@...:~/home/eddie-cli_2.12.4_linux_x64_portable# ./configure
-bash: ./configure: No such file or directory
root@...:~/home/eddie-cli_2.12.4_linux_x64_portable# make
make: *** No targets specified and no makefile found.  Stop.
root@...:~/home/eddie-cli_2.12.4_linux_x64_portable# sudo make install
make: *** No rule to make target 'install'.  Stop.
root@...:~/home/eddie-cli_2.12.4_linux_x64_portable#
 

 

I installed .deb with a UI - there were no .deb without UI, hoping that it also can work only via command line.

 

This is the error I got when running it, I suppose it's only for graphical UI ('Could not open display')

 

 

 sudo dpkg -i --ignore-depends=libmono-system-runtime2.0-cil --ignore-depends=libmono-winforms2.0-cil --ignore-depends=libmono-corlib2.0-cil eddie-ui_2.12.4_linux_x64_debian.deb
Selecting previously unselected package airvpn.
(Reading database ... 64452 files and directories currently installed.)
Preparing to unpack eddie-ui_2.12.4_linux_x64_debian.deb ...
Unpacking airvpn (2.12.4) ...
Setting up airvpn (2.12.4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
root@...:~/home# airvpn
I 2017.07.04 02:47:26 - Eddie client version: 2.12.4 / linux_x64, System: Linux, Name: Ubuntu 17.04  Linux generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  Server   : 546655  IPv4         :   IPv6            : ...  Hostname      : ..., Mono/.Net Framework: v4.0.30319
. 2017.07.04 02:47:26 - Reading options from /root/.airvpn/AirVPN.xml
. 2017.07.04 02:47:26 - Profile options not found, using defaults.


Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control..ctor () [0x000ea] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control..ctor () [0x00014] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Form..ctor () [0x00012] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm:.ctor (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at Eddie.UI.Linux.Program.Main () [0x000c3] in <827d8be374f3486292e08d514075969c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.ArgumentNullException: Could not open display (X-Server required. Check your DISPLAY environment variable)
Parameter name: Display
  at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x00435] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.XplatUI..cctor () [0x0007d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control..ctor () [0x000ea] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control..ctor () [0x00014] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Form..ctor () [0x00012] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm:.ctor (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at Eddie.UI.Linux.Program.Main () [0x000c3] in <827d8be374f3486292e08d514075969c>:0
 

 

 

Edit:

 

Just figured out that if I want to use command-line I have to add -cli...

 

 

 

 

 

Under Linux, run airvpn with -cli option.

 

https://airvpn.org/topic/11541-command-line-edition-and-syntax

 

 

 

 

Edit2: 

 

After connecting to best available server, linux crashed.. Now can't connect.

 

 

 

17:40:55.181 Key exchange #36 started by client.
17:40:55.744 Key exchange #36 completed.
18:11:01.036 The SSH2 session has terminated with error. Reason: FlowSocketReader: Error receiving bytes. Windows error 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
18:11:01.041 Automatic reconnection started.
Reconnection attempt is scheduled at 18:11:03.

 

 

This is the last log before crashing

. 2017.07.04 03:16:39 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2017.07.04 03:16:39 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]...
. 2017.07.04 03:16:40 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2017.07.04 03:16:40 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.113.245 255.255.0.0'
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: route options modified
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.07.04 03:16:40 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.07.04 03:16:40 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.07.04 03:16:40 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.07.04 03:16:40 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.07.04 03:16:40 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.07.04 03:16:40 - OpenVPN > ROUTE_GATEWAY .../255.255.255.0 IFACE=eth0 HWADDR=...
. 2017.07.04 03:16:40 - OpenVPN > TUN/TAP device tun0 opened
. 2017.07.04 03:16:40 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.07.04 03:16:40 - OpenVPN > do_ifconfig, tt->did_ifconfig_ipv6_setup=0
. 2017.07.04 03:16:40 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.07.04 03:16:40 - OpenVPN > /sbin/ip addr add dev tun0 .../16 broadcast ...
. 2017.07.04 03:16:45 - OpenVPN > /sbin/ip route add .../32 via ...
. 2017.07.04 03:16:45 - OpenVPN > /sbin/ip route add 0.0.0.0/1 via 10.4.0.1
 

 

 

Share this post


Link to post

hey aquax if you are wanting to do as much as you can through the terminal i'd suggest arch linux

it is basically 'generic linux'

here's some notes i put together:

 

https://splif.me/nstlz.html

 

have a good one

 

splif

 

 

Everything is working now - I can launch airvpn, but when I connect to a server it crashes or blocks connection, so I have to restart completely.

 

+ Another problem because of this airvpn installation is this, even though I uninstalled airvpn, it caused some problems because of it's dependencies, it seems connection is not working anymore to anything outside the server... (Failed to establish a new connection: [Errno -3] Temporary failure in name resolution)


Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 138, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 75, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.5/socket.py", line 733, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution


During handling of the above exception, another exception occurred:


Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen
    chunked=chunked)
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 350, in _make_request
    self._validate_conn(conn)
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 837, in _validate_conn
    conn.connect()
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 281, in connect
    conn = self._new_conn()
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 147, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f1169038208>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution

 

 

 

Currently trying to uninstall every dependency that was installed for airvpn...

 

 

sudo apt-get purge fontconfig libexif12 libgnome-keyring-common libgnome-keyring0 stunnel4 libjbig0 libxmuu1 psmisc xauth hicolor-icon-theme libtiff5 libgdk-pixbuf2.0-common libgdk-pixbuf2.0-0 gtk-update-icon-cache libcroco3 libthai-data libdatrie1 libthai0 libpango-1.0-0 libpangoft2-1.0-0 libpangocairo-1.0-0 librsvg2-2 librsvg2-common humanity-icon-theme ubuntu-mono adwaita-icon-theme libatspi2.0-0 libxtst6 at-spi2-core binfmt-support libmono-corlib4.5-cil libmono-system-xml4.0-cil libmono-system-security4.0-cil libmono-system-configuration4.0-cil libmono-system4.0-cil libmono-security4.0-cil mono-4.0-gac mono-gac mono-runtime-common mono-runtime-sgen mono-runtime ca-certificates-mono cli-common dbus-user-session libdconf1 dconf-service dconf-gsettings-backend gconf2-common libgconf-2-4 gconf-service-backend gconf-service gconf2 libgck-1-0 libgcr-3-common libgcr-base-3-1 libgtk-3-common libatk1.0-data libatk1.0-0 libatk-bridge2.0-0 libcairo-gobject2 liblcms2-2 libcolord2 libcontent-hub-glib0 libavahi-common-data libavahi-common3 libavahi-client3 libcups2 libepoxy0 libjson-glib-1.0-common libjson-glib-1.0-0 libproxy1v5 glib-networking-common glib-networking-services gsettings-desktop-schemas glib-networking libsoup2.4-1 libsoup-gnome2.4-1 librest-0.7-0 libxcomposite1 libgtk-3-0 libgcr-ui-3-1 gcr libgtk2.0-common libgtk2.0-0 libgtop2-common libgtop-2.0-10 libxcb-util1 libstartup-notification0 libgksu2-0 gksu p11-kit-modules p11-kit libsecret-common libsecret-1-0 pinentry-gnome3 gnome-keyring libgail18 libgail-common libgif7 libgdiplus libgdk-pixbuf2.0-bin libgtk-3-bin libgtk2.0-bin libmonosgen-2.0-1 libmonosgen-2.0-dev libmono-2.0-dev libmono-accessibility4.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-posix4.0-cil libmono-system-core4.0-cil libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-cscompmgd0.0-cil libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil libmono-data-tds4.0-cil libmono-system-transactions4.0-cil libmono-system-enterpriseservices4.0-cil libmono-system-numerics4.0-cil libmono-system-data4.0-cil libmono-db2-1.0-cil libmono-debugger-soft4.0a-cil libmono-sharpzip4.84-cil libmono-sqlite4.0-cil libmono-system-componentmodel-dataannotations4.0-cil libmono-system-drawing4.0-cil libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-web-applicationservices4.0-cil libmono-webbrowser4.0-cil libmono-i18n4.0-cil libmono-i18n-west4.0-cil libmono-system-windows-forms4.0-cil libmono-system-design4.0-cil libmono-ldap4.0-cil libmono-system-ldap4.0-cil libmono-system-web-services4.0-cil libmono-system-web4.0-cil libmono-http4.0-cil libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil libmono-i18n4.0-all libmono-management4.0-cil libmono-messaging4.0-cil libmono-rabbitmq4.0-cil libmono-messaging-rabbitmq4.0-cil libmono-microsoft-build-framework4.0-cil libmono-microsoft-build4.0-cil libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build-engine4.0-cil libmono-xbuild-tasks4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil libmono-microsoft-csharp4.0-cil libmono-microsoft-visualc10.0-cil libmono-microsoft-web-infrastructure1.0-cil libmono-oracle4.0-cil libmono-parallel4.0-cil libmono-peapi4.0a-cil libmono-relaxng4.0-cil libmono-simd4.0-cil libmono-system-servicemodel-internals0.0-cil libmono-smdiagnostics0.0-cil libmono-system-componentmodel-composition4.0-cil libmono-system-configuration-install4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil libmono-system-xml-linq4.0-cil libmono-system-data-entity4.0-cil libmono-system-data-linq4.0-cil libmono-system-data-services-client4.0-cil libmono-system-identitymodel4.0-cil libmono-system-identitymodel-selectors4.0-cil libmono-system-messaging4.0-cil libmono-system-servicemodel4.0a-cil libmono-system-servicemodel-activation4.0-cil libmono-system-web-extensions4.0-cil libmono-system-servicemodel-web4.0-cil libmono-system-data-services4.0-cil libmono-system-deployment4.0-cil libmono-system-drawing-design4.0-cil libmono-system-dynamic4.0-cil libmono-system-io-compression4.0-cil libmono-system-io-compression-filesystem4.0-cil libmono-system-json4.0-cil libmono-system-json-microsoft4.0-cil libmono-system-ldap-protocols4.0-cil libmono-system-management4.0-cil libmono-system-net4.0-cil libmono-system-net-http4.0-cil libmono-system-net-http-formatting4.0-cil libmono-system-net-http-webrequest4.0-cil libmono-system-numerics-vectors4.0-cil libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-core2.2-cil libmono-system-reactive-linq2.2-cil libmono-system-reactive-debugger2.2-cil libmono-system-reactive-experimental2.2-cil libmono-system-reactive-providers2.2-cil libmono-system-reactive-observable-aliases0.0-cil libmono-system-reactive-platformservices2.2-cil libmono-system-reactive-runtime-remoting2.2-cil libmono-system-reactive-windows-forms2.2-cil libmono-system-xaml4.0-cil libmono-windowsbase4.0-cil libmono-system-reactive-windows-threading2.2-cil libmono-system-reflection-context4.0-cil libmono-system-runtime4.0-cil libmono-system-runtime-caching4.0-cil libmono-system-runtime-durableinstancing4.0-cil libmono-system-runtime-interopservices-runtimeinformation4.0-cil libmono-system-servicemodel-discovery4.0-cil libmono-system-servicemodel-routing4.0-cil libmono-system-serviceprocess4.0-cil libmono-system-threading-tasks-dataflow4.0-cil libmono-system-web-abstractions4.0-cil libmono-system-web-dynamicdata4.0-cil libmono-system-web-extensions-design4.0-cil libmono-system-web-http4.0-cil libmono-system-web-http-selfhost4.0-cil libmono-system-web-http-webhost4.0-cil libmono-system-web-mobile4.0-cil libmono-system-web-razor2.0-cil libmono-system-web-webpages-deployment2.0-cil libmono-system-web-webpages2.0-cil libmono-system-web-webpages-razor2.0-cil libmono-system-web-mvc3.0-cil libmono-system-web-regularexpressions4.0-cil libmono-system-web-routing4.0-cil libmono-system-windows4.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-workflow-activities4.0-cil libmono-system-workflow-componentmodel4.0-cil libmono-system-workflow-runtime4.0-cil libmono-system-xml-serialization4.0-cil libmono-tasklets4.0-cil libmono-webmatrix-data4.0-cil libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil libnunit-util2.6.3-cil libnunit-console-runner2.6.3-cil libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-cil-dev libmono-cil-dev libmonoboehm-2.0-1 libp11-kit-gnome-keyring libpam-gnome-keyring libpkcs11-helper1 mono-csharp-shell mono-mcs mono-xbuild mono-devel mono-reference-assemblies-2.0 mono-utils openvpn airvpn
 

 

Still having this problem, it seems that the only option is to reinstall the linux.

Share this post


Link to post
run your network from terminal
you are on kali anyway
remove network-manager, eddie, set eth0 to down
upon boot, edit resolve.conf, set your iptables to airvpn
and push your dns 10.5.0.1, use ssl/stunnel config
you might need to fix stunnel with this:

# rm /usr/bin/stunnel
# ln -s /usr/bin/stunnel4 /usr/bin/stunnel
# cd /etc/stunnel
# touch stunnel.conf
# nano stunnel.conf
cert=/path/to/pem
key=/path/to/key
ctrl+o, ctrl+x
################################
have some tablez:
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X
iptables -t nat -X
iptables -t mangle -X
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # connectionz
iptables -A INPUT -p tcp -m state --state NEW -m multiport --dports 80,443 -j ACCEPT # net, ssl
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT #allow loopback access
iptables -A OUTPUT -d 255.255.255.255 -j ACCEPT #communicate with any DHCP server/router
iptables -A INPUT -s 255.255.255.255 -j ACCEPT #communicate with any DHCP server/router
iptables -A INPUT -s 192.168.0.0/16 -d 192.168.0.0/16 -j ACCEPT #communicate within lan
iptables -A OUTPUT -s 192.168.0.0/16 -d 192.168.0.0/16 -j ACCEPT
iptables -A FORWARD -i eth0 -o tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT # make sure eth0/tun0 can communicate
iptables -t nat -A PREROUTING -s 0/0 -p udp --dport 53 -j DNAT --to 10.5.0.1 #use vpn dns
iptables -t nat -A PREROUTING -s 0/0 -p tcp --dport 53 -j DNAT --to 10.5.0.1 # use vpn dns
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE # map tun0 outgoing IP addy
iptables -A OUTPUT -o eth0 ! -d 127.0.0.1 -p tcp --dport 1413 -j DROP # if traffic isn't vpn
#######################

# ifup eth0
# stunnel "awesomeairvpnserver.ssl" --auth-nocache
# openvpn --config "awesomeairvpnserver.ovpn" --auth-nocache
# ping -c 1 duckduckgo.com

i set my iface like this adjust for your needs:

# The loopback network interface
auto lo
iface lo inet loopback

# the static shit for eth0
auto eth0
iface eth0 inet static
address 192.168.1.xxx
gateway 192.168.1.1
dns-nameservers 10.5.0.1

in the router i shut off dhcp on my side leave it on for my isp on their side
keeps me off the business account rates yet i still get the benefits of static on my
local, had the same damn external ip on 'dhcp' from them for years anyway
run my website on standalone box no problems, so anyone tells ya diff, i dunno works for
me anyway, plus do your mac filter shit if needed, hide yer essid if wifi if this is a wifi config
lemme know i'll post notes up on that that i got, how to connect with hidden essid or not hidden
assign your hostname if needed in the router

don't forget you can 'nohup' 
say you boot debian old school right and want to see how much you can do just from the 
prompt

you can cd, ls, cd .., cp, cp -r, everything from there also and hit the net and have openvpn/stunnel goin
from same window tho you need to use the command 'nohup' and put a '&' at the end

i figured this out coz yeah, locked myself out of my vps many times 

so say yer wanting to get stuff goin
you up your eth0/enp2s2 
then when you get to the stunnel part:
# nohup stunnel "airvpnserver.ssl" --auth-nocache &
then do your openvpn command

now you won't see stuff 'finish' but you'll know yer connected do a nslookup and traceroute curl etc

hope this helps i don't always explain stuff best way

 

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...