diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-08-14 16:40:17 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-08-14 16:40:17 +0200 |
commit | 0609e87b8d02a6d93462cbc4c2a640ffada5cdce (patch) | |
tree | 70fc9d9f4b0991dbcbef7084d6a3276b89222269 | |
parent | ca7ed225b180f546c582db930acacb11c7cb2423 (diff) |
log tunnel setup information
The tunnel partially configures: Clients can receive packets from the public internet but all outgoing traffic is lost at the router
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 73519d8..e0c5a52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -142,9 +142,15 @@ fn configure_he6in4(config: &UsableConfig, dsconfig: &DsConfig) -> Result<()> { addr::flush("he6in4".into())?; addr::add("he6in4".into(), local_v6.into(), 64)?; + println!( + "configure peering /64 (clt {}/64, srv {}/64)", + local_v6, remote_v6 + ); + // Check for native connectivity to avoid breaking netlinkd. if dsconfig.v6.is_none() { route::add6(Ipv6Addr::UNSPECIFIED, 0, Some(remote_v6), "he6in4".into())?; + println!("add default route via {}", remote_v6); } Ok(()) |