Jump to content
Not connected, Your IP: 44.197.214.36
Hundekuchen123

Error: Nexthop has invalid gateway.

Recommended Posts

Hi guys running into this issue when trying to connect:

This is running a VPS, i have AirVPN running on other VPS too but this one is a bit tricky...
Any Ideas? Thanks

Log:
sudo openvpn AirVPN_DE-Munich_Mesarthim_UDP-443.ovpn
Tue Jan  5 01:37:41 2021 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep  5 2019
Tue Jan  5 01:37:41 2021 library versions: OpenSSL 1.1.1f  31 Mar 2020, LZO 2.10
Tue Jan  5 01:37:41 2021 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jan  5 01:37:41 2021 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jan  5 01:37:41 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]79.143.191.166:443
Tue Jan  5 01:37:41 2021 Socket Buffers: R=[212992->425984] S=[212992->425984]
Tue Jan  5 01:37:41 2021 UDP link local: (not bound)
Tue Jan  5 01:37:41 2021 UDP link remote: [AF_INET]79.143.191.166:443
Tue Jan  5 01:37:41 2021 TLS: Initial packet from [AF_INET]79.143.191.166:443, sid=82acd545 cdf1dc99
Tue Jan  5 01:37:41 2021 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
Tue Jan  5 01:37:41 2021 VERIFY KU OK
Tue Jan  5 01:37:41 2021 Validating certificate extended key usage
Tue Jan  5 01:37:41 2021 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Jan  5 01:37:41 2021 VERIFY EKU OK
Tue Jan  5 01:37:41 2021 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Mesarthim, emailAddress=info@airvpn.org
Tue Jan  5 01:37:41 2021 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_CHACHA20_POLY1305_SHA256, 4096 bit RSA
Tue Jan  5 01:37:41 2021 [Mesarthim] Peer Connection Initiated with [AF_INET]79.143.191.166:443
Tue Jan  5 01:37:42 2021 SENT CONTROL [Mesarthim]: 'PUSH_REQUEST' (status=1)
Tue Jan  5 01:37:42 2021 PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway  def1 bypass-dhcp,dhcp-option DNS 10.22.104.1,route-gateway 10.22.104.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.22.104.13 255.255.255.0,peer-id 14,cipher AES-256-GCM'
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: compression parms modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: route options modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: route-related options modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: peer-id set
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: adjusting link_mtu to 1625
Tue Jan  5 01:37:42 2021 OPTIONS IMPORT: data channel crypto options modified
Tue Jan  5 01:37:42 2021 Data Channel: using negotiated cipher 'AES-256-GCM'
Tue Jan  5 01:37:42 2021 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Jan  5 01:37:42 2021 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Jan  5 01:37:42 2021 ROUTE_GATEWAY 178.238.227.1
Tue Jan  5 01:37:42 2021 TUN/TAP device tun0 opened
Tue Jan  5 01:37:42 2021 TUN/TAP TX queue length set to 100
Tue Jan  5 01:37:42 2021 /sbin/ip link set dev tun0 up mtu 1500
Tue Jan  5 01:37:42 2021 /sbin/ip addr add dev tun0 10.22.104.13/24 broadcast 10.22.104.255
Tue Jan  5 01:37:42 2021 /sbin/ip route add 79.143.191.166/32 via 178.238.227.1
Error: Nexthop has invalid gateway

Share this post


Link to post
8 hours ago, Hundekuchen123 said:

Tue Jan  5 01:37:42 2021 /sbin/ip route add 79.143.191.166/32 via 178.238.227.1


Hm. Post the output of the commands ip -4 a and ip -4 r, please.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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

×
×
  • Create New...