LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2021, 10:25 PM   #1
angryJellyBean
LQ Newbie
 
Registered: Jul 2021
Posts: 15

Rep: Reputation: Disabled
Wireguard breaks internet access on Fedora 34


Hello I am having issues getting Wireguard running on Fedora 34. Whenever I start it with
Code:
wg-quick up wg0
Everything looks fine and
Code:
sudo wg show
interface: wg0
  public key: xxxxxxxxxxxxxxxxxxxxxxxxxxx
  private key: (hidden)
  listening port: 51820
  fwmark: 0xca6c

peer: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  allowed ips: 0.0.0.0/0, ::/0
seems to show as it should.

But then internet access is broken. This occurs even if I set selinux to permissive and disable the firewall.

Here's my wg0.conf
Code:
[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxx
Address = 192.168.50.233/24
ListenPort = 51820
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eno1 -j MASQUERADE

[Peer]
#op9pro
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 0.0.0.0/0, ::/0
Any ideas where I should be looking to solve this?
 
Old 10-28-2021, 04:02 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Maybe you can get help with fedora issues on the askfedora forum.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force breaks to avoid eye strain (typing breaks) upnort Slackware 12 09-19-2019 03:43 PM
LXer: Kali Linux Ethical Hacking Distro Gets 64-Bit Raspberry Pi 3 Image, WireGuard LXer Syndicated Linux News 0 10-30-2018 10:50 PM
WireGuard Mysterious Makefile Wayne Sallee Linux - Security 5 09-20-2018 10:53 AM
LXer: Linus WireGuard Comments, Lubuntu New Direction, LineageOS, OpenWRT, SteamOS | This Week in Linux 34 LXer Syndicated Linux News 0 08-06-2018 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration