Skip to content

No internet access or browser functionality after connecting to AmneziaWG. #1498

Description

@alexanderzhirov

Describe the bug
After installing the latest version of the client in Linux from the ZIP archive provided in the repository, I am observing the following issue: no internet access or browser functionality after connecting to AmneziaWG.

To Reproduce
Adding a config file and connecting to the AmneziaWG server.

Expected behavior
Network operations and web browsing

Log files

Started as system service
IpcProcessTun2Socks::IpcProcessTun2Socks()
Amnezia "Daemon" "Daemon created"
Amnezia "LinuxDaemon" "Daemon created"
Amnezia "WireguardUtilsLinux" "WireguardUtilsLinux created."
Amnezia "DnsUtilsLinux" "DnsUtilsLinux created."
Amnezia "IPUtilsLinux" "IPUtilsLinux created."
Amnezia "DaemonLocalServer" "Server path: /var/run/amneziavpn/daemon.socket"
LocalServer new connection
2025-03-29 01:46:11 debug LocalServer new connection
2025-03-29 01:46:11 debug Amnezia "DaemonLocalServer" "New connection received"
2025-03-29 01:46:11 debug Amnezia "DaemonLocalServerConnection" "Connection created"
2025-03-29 01:46:11 debug Amnezia "DaemonLocalServerConnection" "Read Data"
2025-03-29 01:46:11 debug Amnezia "DaemonLocalServerConnection" "Command received: status"
2025-03-29 01:46:11 debug Amnezia "Daemon" "Status request"
2025-03-29 01:46:11 debug Amnezia "DaemonLocalServerConnection" "Command received: activate"
2025-03-29 01:46:11 debug Amnezia "Daemon" "Activating interface"
2025-03-29 01:46:11 debug Amnezia "WireguardUtilsLinux" "Created wireguard interface amn0"
2025-03-29 01:46:11 debug Amnezia "LinuxRouteMonitor" "LinuxRouteMonitor created."
2025-03-29 01:46:11 debug Amnezia "LinuxFirewall" "( 2 ) $  iptables -C OUTPUT -j amnvpn.anchors 2> /dev/null"
2025-03-29 01:46:12 debug Amnezia "LinuxFirewall" "Tearing down cgroup and routing rules"
2025-03-29 01:46:12 debug Amnezia "LinuxFirewall" "( 255 ) $  ip route flush table amnvpnrt"
2025-03-29 01:46:12 debug Amnezia "LinuxFirewall" "Error: argument \"amnvpnrt\" is wrong: table id value is invalid"
2025-03-29 01:46:12 debug Amnezia "LinuxFirewall" "LinuxFirewall::uninstall() complete"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! iptables -L OUTPUT -n --line-numbers -t filter 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then iptables -I OUTPUT -j amnvpn.anchors -t filter && iptables -L OUTPUT -n --line-numbers -t filter 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs iptables -t filter -D OUTPUT ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "iptables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! ip6tables -L OUTPUT -n --line-numbers -t filter 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then ip6tables -I OUTPUT -j amnvpn.anchors -t filter && ip6tables -L OUTPUT -n --line-numbers -t filter 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs ip6tables -t filter -D OUTPUT ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "ip6tables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! iptables -L POSTROUTING -n --line-numbers -t nat 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then iptables -I POSTROUTING -j amnvpn.anchors -t nat && iptables -L POSTROUTING -n --line-numbers -t nat 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs iptables -t nat -D POSTROUTING ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "iptables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! ip6tables -L POSTROUTING -n --line-numbers -t nat 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then ip6tables -I POSTROUTING -j amnvpn.anchors -t nat && ip6tables -L POSTROUTING -n --line-numbers -t nat 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs ip6tables -t nat -D POSTROUTING ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "ip6tables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! iptables -L OUTPUT -n --line-numbers -t mangle 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then iptables -I OUTPUT -j amnvpn.anchors -t mangle && iptables -L OUTPUT -n --line-numbers -t mangle 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs iptables -t mangle -D OUTPUT ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "iptables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! ip6tables -L OUTPUT -n --line-numbers -t mangle 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then ip6tables -I OUTPUT -j amnvpn.anchors -t mangle && ip6tables -L OUTPUT -n --line-numbers -t mangle 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs ip6tables -t mangle -D OUTPUT ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "ip6tables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! iptables -L PREROUTING -n --line-numbers -t raw 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then iptables -I PREROUTING -j amnvpn.anchors -t raw && iptables -L PREROUTING -n --line-numbers -t raw 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs iptables -t raw -D PREROUTING ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "iptables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 123 ) $  if ! ip6tables -L PREROUTING -n --line-numbers -t raw 2> /dev/null | awk 'int($1) == 1 && $2 == \"amnvpn.anchors\" { found=1 } END { if(found==1) { exit 0 } else { exit 1 } }' ; then ip6tables -I PREROUTING -j amnvpn.anchors -t raw && ip6tables -L PREROUTING -n --line-numbers -t raw 2> /dev/null | awk 'int($1) > 1 && $2 == \"amnvpn.anchors\" { print $1; exit }' | xargs ip6tables -t raw -D PREROUTING ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "ip6tables: Bad rule (does a matching rule exist in that chain?)."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "Should be setting up cgroup in /sys/fs/cgroup/net_cls/amnvpnexclusions/ for traffic splitting"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 1 ) $  if [ ! -d /sys/fs/cgroup/net_cls/amnvpnexclusions/ ] ; then mkdir /sys/fs/cgroup/net_cls/amnvpnexclusions/ ; sleep 0.1 ; echo 0x567 > /sys/fs/cgroup/net_cls/amnvpnexclusions//net_cls.classid ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "mkdir: cannot create directory ‘/sys/fs/cgroup/net_cls/amnvpnexclusions/’: Нет такого файла или каталога\n/bin/bash: строка 1: /sys/fs/cgroup/net_cls/amnvpnexclusions//net_cls.classid: Нет такого файла или каталога"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 255 ) $  if ! ip rule list | grep -q 0x3211 ; then ip rule add from all fwmark 0x3211 lookup amnvpnrt pri 100 ; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "Error: argument \"amnvpnrt\" is wrong: invalid table ID"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "000.allowLoopback(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "000.allowLoopback(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "100.blockAll(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "100.blockAll(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "110.allowNets(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "120.blockNets(IPv4): OFF"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "200.allowVPN(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "250.blockIPv6(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "290.allowDHCP(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "290.allowDHCP(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "300.allowLAN(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "300.allowLAN(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "310.blockDNS(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "320.allowDNS(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 2 ) $  if iptables -C amnvpn.a.400.allowPIA -j amnvpn.400.allowPIA -t filter 2> /dev/null ; then echo '400.allowPIA(IPv4): ON' ; else echo '400.allowPIA(IPv4): OFF -> ON' ; iptables -A amnvpn.a.400.allowPIA -j amnvpn.400.allowPIA -t filter; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "400.allowPIA(IPv4): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "iptables v1.8.11 (nf_tables): Chain 'amnvpn.400.allowPIA' does not exist\nTry `iptables -h' or 'iptables --help' for more information."
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "( 2 ) $  if ip6tables -C amnvpn.a.400.allowPIA -j amnvpn.400.allowPIA -t filter 2> /dev/null ; then echo '400.allowPIA(IPv6): ON' ; else echo '400.allowPIA(IPv6): OFF -> ON' ; ip6tables -A amnvpn.a.400.allowPIA -j amnvpn.400.allowPIA -t filter; fi"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "400.allowPIA(IPv6): OFF -> ON"
2025-03-29 01:46:13 debug Amnezia "LinuxFirewall" "ip6tables v1.8.11 (nf_tables): Chain 'amnvpn.400.allowPIA' does not exist\nTry `ip6tables -h' or 'ip6tables --help' for more information."
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for *.*.*.*/32"
2025-03-29 01:46:13 debug Gateway  192.168.0.1  for interface  enp0s3
2025-03-29 01:46:13 debug Amnezia "WireguardUtilsLinux" "Configuring peer wabIWeCBQ/mhs5pKb3JZr/SsWZhlgf5ug95+gxRRKUU= via *.*.*.*"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for *.*.*.*/32"
2025-03-29 01:46:13 debug Gateway  192.168.0.1  for interface  enp0s3
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding exclusion route for /999999"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Invalid destination prefix"
2025-03-29 01:46:13 debug Amnezia "DnsUtilsLinux" "Adding DNS resolver 1.1.1.1 via amn0"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding route to 0.0.0.0/1"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding route to 128.0.0.0/1"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding route to ::/1"
2025-03-29 01:46:13 debug Amnezia "LinuxRouteMonitor" "Adding route to 8000::/1"
2025-03-29 01:46:13 debug Amnezia "Daemon" "Connection status: 1"
2025-03-29 01:46:13 debug Amnezia "DnsUtilsLinux" "Setting DNS domain: XXXXXXXX via amn0 search"
2025-03-29 01:46:14 debug Amnezia "Daemon" "Checking for handshake..."
2025-03-29 01:46:14 debug Amnezia "Daemon" "awaiting wabIWeCBQ/mhs5pKb3JZr/SsWZhlgf5ug95+gxRRKUU="
2025-03-29 01:46:14 debug Amnezia "DnsUtilsLinux" "DnsUtilsLinux created."
2025-03-29 01:46:14 debug Restarting systemd-resolved.service
2025-03-29 01:46:14 debug Flush dns completed

*.*.*.* - hidden my server IP.

Desktop (please complete the following information):

  • OS: Solus Linux
  • Version 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions