Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No internet connection on Ubuntu #1357

Open
evgkhm opened this issue Jan 13, 2025 · 0 comments
Open

No internet connection on Ubuntu #1357

evgkhm opened this issue Jan 13, 2025 · 0 comments

Comments

@evgkhm
Copy link

evgkhm commented Jan 13, 2025

When app connected to my VPS server using AmneziaWG no internet on Ubuntu. But on another devices (iOS, MAC) it works perfectly. It looks like internet is blocking, because when I start pinging or try to open iptables on terminal they are blocking and don't do anything until I turn off the button in app.

OpenVPN over Cloak and Amnezia Free v3 works, another methods don't.

Steps to reproduce the behavior:

  1. Install AmneziaVPN_4.8.2.3_Linux_installer
  2. Import connection config
  3. Press "Connect"

Expected behavior: Access to internet using AmneziaWG.

Log files
2025-01-13 10:38:53 debug LocalServer new connection
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServer" "New connection received"
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServerConnection" "Connection created"
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServerConnection" "Read Data"
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServerConnection" "Command received: status"
2025-01-13 10:38:53 debug Amnezia "Daemon" "Status request"
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServerConnection" "Read Data"
2025-01-13 10:38:53 debug Amnezia "DaemonLocalServerConnection" "Command received: activate"
2025-01-13 10:38:53 debug Amnezia "Daemon" "Activating interface"
2025-01-13 10:38:53 debug Amnezia "WireguardUtilsLinux" "Created wireguard interface amn0"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "LinuxRouteMonitor created."
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for /32"
2025-01-13 10:38:53 debug Amnezia "WireguardUtilsLinux" "Configuring peer C9I9PfDjGHStnsOMU6iud5MZRULN2p8zh8l3KAbt6CY= via "
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for /32"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for /999999"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Invalid destination prefix"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Netlink request failed: Network is unreachable"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Netlink request failed: Network is unreachable"
2025-01-13 10:38:53 debug Amnezia "DnsUtilsLinux" "Adding DNS resolver 1.1.1.1 via amn0"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding route to 0.0.0.0/1"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding route to 128.0.0.0/1"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding route to ::/1"
2025-01-13 10:38:53 debug Amnezia "LinuxRouteMonitor" "Adding route to 8000::/1"
2025-01-13 10:38:53 debug Amnezia "Daemon" "Connection status: 1"
2025-01-13 10:38:53 debug Amnezia "DnsUtilsLinux" "Setting DNS domain: XXXXXXXX via amn0 search"
2025-01-13 10:38:53 debug Amnezia "Daemon" "Checking for handshake..."
2025-01-13 10:38:53 debug Amnezia "Daemon" "awaiting C9I9PfDjGHStnsOMU6iud5MZRULN2p8zh8l3KAbt6CY="
2025-01-13 10:38:53 debug Flush dns completed

Screenshot from 2025-01-13 11-11-14

Desktop:

  • OS: Ubuntu 24.04.1 LTS

Server:

  • Ubuntu-22.04

To fix an issue I tried:

  • Add DNS-servers: 1.1.1.1, 1.0.0.1, 8.8.8.8
  • Turn off "Use AmneziaDNS", "KillSwitch".
  • Launch iptables, but it blocked when button connects in app
  • Start systemd-resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant