Jump to content
Not connected, Your IP: 18.219.119.163
Sign in to follow this  
20194

Linux UFW problem

Recommended Posts

Hello everybody,

Today I ran into an issue that I can't seem to fix. I am running wireguard cli on my ubuntu server.

I have had this setup for over a year now and It's been working as expected, but I must have done something because for some reason, I cannot establish the connection to the VPN if UFW is enabled.
I have to manually disable it, connect to the VPN and then enable UFW back. Again, this was working as expected for a long time and I have not changed any of the UFW rules.

sudo sudo wg-quick up wg0
To                         Action      From
--                         ------      ----
192.168.0.0/24             ALLOW       Anywhere
Anywhere on wg0            ALLOW       Anywhere
Anywhere (v6) on wg0       ALLOW       Anywhere (v6)

192.168.0.0/24             ALLOW OUT   Anywhere
79.142.69.159              ALLOW OUT   Anywhere
38.240.226.18              ALLOW OUT   Anywhere
Anywhere                   ALLOW OUT   Anywhere on wg0
185.156.175.50             ALLOW OUT   Anywhere
91.214.169.68              ALLOW OUT   Anywhere
195.206.105.226            ALLOW OUT   Anywhere
195.206.105.202            ALLOW OUT   Anywhere
185.156.175.170            ALLOW OUT   Anywhere
185.156.175.42             ALLOW OUT   Anywhere
185.156.175.58             ALLOW OUT   Anywhere
185.156.175.34             ALLOW OUT   Anywhere
Anywhere (v6)              ALLOW OUT   Anywhere (v6) on wg0
I only really need the Swiss Servers and the configuration file I have generated is only for Swiss.

Does anybody have any idea what could be the issue? Maybe I'm missing something in the rules? 
Thanks
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...