No downfall. Setting up a Linux computer with two network cards to run WireGuard and share the internet with your router and the rest of your home is indeed a feasible approach. Let’s break it down:
Linux Computer Configuration:
Install WireGuard on your Linux computer.
Set up two network interfaces: one connected to your modem (external interface) and the other connected to your router (internal interface).
Configure WireGuard to use the external interface for internet access.
Router Configuration:
Your router (the RT-AC5300) will act as a client to connect to your Linux computer’s WireGuard server.
Configure the router’s WireGuard client settings to point to your Linux computer’s public IP address.
Routing and Firewall Rules:
Ensure proper routing and firewall rules on both the Linux computer and the router.
The Linux computer should forward traffic from the internal interface to the external interface.
The router should route traffic through the WireGuard tunnel to the Linux computer.
Home Network Access:
Once the router establishes a WireGuard connection to your Linux computer, devices on your home network can access the internet securely via the tunnel.
The Linux computer acts as a gateway, forwarding traffic between the router and the external network.
Considerations:
Make sure your Linux computer has a static IP address or a reliable dynamic DNS (DDNS) setup.
Regularly update your Linux system and keep WireGuard up to date.
Test the setup thoroughly to ensure proper functionality.
Remember that this approach involves some manual configuration, but it can be a viable solution if your router’s built-in WireGuard support is limited. Keep in mind that while it’s not absurd, it does require technical expertise and careful setup. Good luck! ��