!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

917 Members
Declaratively manage your switching, routing, wireless, tunneling and more.266 Servers

Load older messages


SenderMessageTime
25 Jun 2025
@hexa:lossy.networkhexaso that was not a concern13:45:07
@hexa:lossy.networkhexano13:45:11
@hexa:lossy.networkhexaon MacOS Safari used to break when we last tried such a setup13:45:24
@hexa:lossy.networkhexanot super motivated, given that I don't have people with apple hardware in my close vicinity13:45:59
@hexa:lossy.networkhexa* not super motivated to retry that, given that I don't have people with apple hardware in my close vicinity13:46:06
@emilazy:matrix.orgemilymacOS has native CLAT support and should auto-detect the relevant flags and do the right thing13:47:09
@emilazy:matrix.orgemilyI think the only desktop OS where it reportedly "just works"13:47:28
@hexa:lossy.networkhexathat is what I thought13:47:30
@emilazy:matrix.orgemily(Windows still gates its support for WWAN only…)13:47:34
@sandro:supersandro.deSandro 🐧it fixed some olde androids for us13:50:37
@sandro:supersandro.deSandro 🐧iPhones also work fine13:50:50
@hexa:lossy.networkhexaif it doesn't fix sip that is not helping13:58:44
@hexa:lossy.networkhexaI mean, part of the issue was that the access concentrator was on IPv4 only13:59:08
@sandro:supersandro.deSandro 🐧probably not14:55:54
@sandro:supersandro.deSandro 🐧could be that it is similar to what breaks kde connect14:56:01
@sandro:supersandro.deSandro 🐧it partically works but as soon as you want to send a file and it tries to do ssh for that it breaks14:56:25
@sandro:supersandro.deSandro 🐧as for that it uses ipv4 and the eg. laptop does not accept the IP from the proxy14:56:39
@hexa:lossy.networkhexawe only provided 464xlat and not for linux14:57:04
@hexa:lossy.networkhexanothing sets up a clat on linux automatically14:57:11
@tom:dragar.deTomAt least on Apples Mobile Systems (iOS/iPadOS) they aren't doing proper source address selection for the CLAT. They'll happily use a seemingly random one of the configured ones. Even deprecated or ULA doesn't seem to bother them. :/15:13:12
@emilazy:matrix.orgemilyfun15:14:30
@freexploit:trafkin.com@freexploit:trafkin.com joined the room.16:28:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIn what way is a bridge different from a macvtap?16:44:43
@adam:robins.wtfadamcstephensa macvtap is for creating a new interface attached to another individual interface. A bridge can link, or "bridge", multiple interfaces together16:46:02
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI'm trying to make a nixos module for this https://github.com/lampmerchant/tashrouter?tab=readme-ov-file#creating-a-macvtap-device16:48:24
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThey recommend something like this:16:48:32
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone *

They recommend something like this:

# ip link add link eth0 name macvtap0 type macvtap
# ip link set dev macvtap0 promisc on
# ip link set dev macvtap0 up
16:48:35
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

But then in https://68kmla.org/bb/index.php?threads/tashrouter-an-appletalk-router.46047/page-5#post-518796

Someone says:

I experimented with the recommended macvtap interface but found it to be somewhat poorly documented.
In theory it's supposed to function like a bridge+tap, but I could not get that to work properly.

16:48:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

For whatever reason his code only supports running on a tap/macvtap

router = Router('router', ports=(
  LtoudpPort(seed_network=1, seed_zone_name=b'LToUDP Network'),
  TashTalkPort(serial_port='/dev/ttyAMA0', seed_network=2, seed_zone_name=b'TashTalk Network'),
  MacvtapPort(macvtap_name='macvtap0', seed_network_min=3, seed_network_max=5, seed_zone_names=[b'EtherTalk Network']),
))
16:49:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneWondering why that could be..16:50:04

Show newer messages


Back to Room ListRoom Version: 6