Skip to content

Commit

Permalink
remove bridge, enable napt
Browse files Browse the repository at this point in the history
  • Loading branch information
indexds committed Jan 11, 2025
1 parent dad587d commit f46096f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/network/bridge.rs

This file was deleted.

3 changes: 3 additions & 0 deletions src/network/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;

Expand Down
2 changes: 0 additions & 2 deletions src/network/mod.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit f46096f

Please sign in to comment.