diff --git a/src/network/bridge.rs b/src/network/bridge.rs deleted file mode 100644 index 8b13789..0000000 --- a/src/network/bridge.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/network/eth.rs b/src/network/eth.rs index 8766fc9..49c7327 100644 --- a/src/network/eth.rs +++ b/src/network/eth.rs @@ -59,6 +59,9 @@ pub fn start( })?, )?; + log::info!("Enabling napt.."); + eth_netif.netif_mut().enable_napt(true)?; + log::info!("Starting ethernet netif.."); eth_netif.start()?; diff --git a/src/network/mod.rs b/src/network/mod.rs index 905c506..e9964d7 100644 --- a/src/network/mod.rs +++ b/src/network/mod.rs @@ -1,5 +1,3 @@ -/// Handles bridging between ethernet and the wireguard interface. -pub mod bridge; /// Handles ethernet related capabilities. pub mod eth; /// Handles wifi related capbabilities.