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 handshake init #542

Open
blackout314 opened this issue Feb 13, 2025 · 1 comment
Open

no handshake init #542

blackout314 opened this issue Feb 13, 2025 · 1 comment

Comments

@blackout314
Copy link

blackout314 commented Feb 13, 2025

client config

[Interface]
PrivateKey = uA
Address = 10.66.66.2/32,fd42:42:42::2/128
DNS = 1.1.1.1,1.0.0.1

[Peer]
PublicKey = SuP
PresharedKey = 1Xn
Endpoint = xxxxxxx:64486
AllowedIPs = 0.0.0.0/0,::/0

server config

[Interface]
Address = 10.66.66.1/24
ListenPort = 64486
PrivateKey = iKK
PostUp = iptables -I INPUT -p udp --dport 64486 -j ACCEPT
PostUp = iptables -I FORWARD -i ens6 -o wg0 -j ACCEPT
PostUp = iptables -I FORWARD -i wg0 -j ACCEPT
PostUp = iptables -t nat -A POSTROUTING -o ens6 -j MASQUERADE
PostUp = ip6tables -I FORWARD -i wg0 -j ACCEPT
PostUp = ip6tables -t nat -A POSTROUTING -o ens6 -j MASQUERADE
PostDown = iptables -D INPUT -p udp --dport 64486 -j ACCEPT
PostDown = iptables -D FORWARD -i ens6 -o wg0 -j ACCEPT
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT
PostDown = iptables -t nat -D POSTROUTING -o ens6 -j MASQUERADE
PostDown = ip6tables -D FORWARD -i wg0 -j ACCEPT
PostDown = ip6tables -t nat -D POSTROUTING -o ens6 -j MASQUERADE

[Peer]
PublicKey = OWo
PresharedKey = 1Xn
AllowedIPs = 10.66.66.2/32
@blackout314
Copy link
Author

anyone can help? i try 3 install and no one works
of course i open port

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