VM unable to ping outside L/WAN when connected to Wireguard

BlakeTek

Cadet
Joined
Aug 3, 2023
Messages
3
Basically, I'm trying to funnel all traffic in a VM within Truenas Scale through a WG tunnel to a VPS.
However, I don't know what I'm doing wrong. I've tried to isolate it as best I can, but here are the findings.
If WG is not connected, I can ping LAN, Google, anyone.
If WG is connected, I can only ping LAN. Google, Bing, Reddit, even the other end of the WG tunnel all fail. cURL/ wget's also fail.
I have Truenas hooked up with its only hardware ethernet interface to a bridge, as seems recommended, and ufw is off on the server atm during testing.

I know that WG itself is not likely the issue, or if it is, it's the installed version on the VM that's at fault. Android running the same config is fine, I can ping, watch youtube, ping the other end as well, etc.
Here's the relevent specs.
Truenas Scale 22.12.3.1
R5-4650G
32GB ECC
VM is just Ubuntu 22.04.
I know that Realtek is the ethernet controller manufacturer, but I don't have the option to simply plug in to a different jack, or the physical space for an external PCIe card either, so I'm stuck with it unless I go wifi, and that's just stupid.

If anyone's got any suggestions on troubleshooting, or knows what's wrong outright, please drop a hint. Or if more info is needed.
 

BlakeTek

Cadet
Joined
Aug 3, 2023
Messages
3
SInce I can't edit, and the thought just occurred to me, I should also mention, the WG install is within the VM itself, not on Truenas.
 

fayelund

Dabbler
Joined
Aug 27, 2021
Messages
31
Sounds like wg is routing all traffic over the tunnel, and remote machine does not forward traffic.
 

BlakeTek

Cadet
Joined
Aug 3, 2023
Messages
3
Sounds like wg is routing all traffic over the tunnel, and remote machine does not forward traffic.
Which doesn't make sense, at least to me, since the exact same config file works on two different machines, on the same network as Truenas but are bare metal (Laptop running Manjaro & Android).
Obviously, I tested each machine connection separately.
 
Top