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

Can't seem to successfully test with wg-quick up #238

Closed
sfxworks opened this issue Nov 18, 2022 · 1 comment
Closed

Can't seem to successfully test with wg-quick up #238

sfxworks opened this issue Nov 18, 2022 · 1 comment

Comments

@sfxworks
Copy link

Using kde-plasma, I import the wireguard config. Internet works but warp only on ipv6. Using wg-quick up, I can confirm the same but this time I can't talk to ipv4 at all.

    ~  sudo wg-quick up wgcf-profile.conf                                                                         ✔  4s  
[#] ip link add wgcf-profile type wireguard
[#] wg setconf wgcf-profile /dev/fd/63
[#] ip -4 address add 172.16.0.2/32 dev wgcf-profile
[#] ip -6 address add 2606:4700:110:885c:26ff:1b50:9b5d:b2bd/128 dev wgcf-profile
[#] ip link set mtu 1280 up dev wgcf-profile
[#] wg set wgcf-profile fwmark 51820
[#] ip -6 route add ::/0 dev wgcf-profile table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] nft -f /dev/fd/63
[#] ip -4 route add 0.0.0.0/0 dev wgcf-profile table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] nft -f /dev/fd/63
    ~  ping ipv6.google.com                                                                                            1 ✘ 
PING ipv6.google.com(ww-in-f113.1e100.net (2607:f8b0:4004:c1d::71)) 56 data bytes
64 bytes from ww-in-f113.1e100.net (2607:f8b0:4004:c1d::71): icmp_seq=1 ttl=60 time=15.0 ms
64 bytes from ww-in-f113.1e100.net (2607:f8b0:4004:c1d::71): icmp_seq=2 ttl=60 time=15.4 ms
64 bytes from ww-in-f113.1e100.net (2607:f8b0:4004:c1d::71): icmp_seq=3 ttl=60 time=14.7 ms
64 bytes from ww-in-f113.1e100.net (2607:f8b0:4004:c1d::71): icmp_seq=4 ttl=60 time=14.9 ms
^C
--- ipv6.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 14.681/14.992/15.384/0.258 ms
    ~  ping ipv4.google.com                                                                                       ✔  4s  
PING ipv4.l.google.com (142.251.163.100) 56(84) bytes of data.
^C
--- ipv4.l.google.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6073ms

dmesg doesn't really show me much

[ 2026.293955] wireguard: wgcf-profile: Receiving handshake response from peer 12 (162.159.192.1:2408)
[ 2026.293963] wireguard: wgcf-profile: Keypair 28 created for peer 12
@ViRb3
Copy link
Owner

ViRb3 commented Nov 18, 2022

Please check #50 and #158.

@ViRb3 ViRb3 closed this as completed Nov 18, 2022
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

2 participants