summaryrefslogtreecommitdiffhomepage
path: root/cmd/vnet
AgeCommit message (Collapse)AuthorFilesLines
2025-03-29cmd/vnet: add wsproxy modeBrad Fitzpatrick1-0/+179
For hooking up websocket VM clients to natlab. Updates #13038 Change-Id: Iaf728b9146042f3d0c2d3a5e25f178646dd10951 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-24tstest/natlab/vnet: add start of IPv6 supportBrad Fitzpatrick2-6/+25
Updates #13038 Change-Id: Ic3d095f167daf6c7129463e881b18f2e0d5693f5 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-23cmd/vnet: omit log spam when backend status hasn't changedBrad Fitzpatrick1-1/+5
Updates #13038 Change-Id: I9cc67cf18ba44ff66ba03cda486d5e111e395ce7
2024-08-23cmd/vnet: add --blend and --pcap flagsBrad Fitzpatrick1-5/+9
Updates #13038 Change-Id: Id16ea9eb94447a3d9651215f04b2525daf10b3eb Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-13gokrazy,tstest/integration/nat: add Gokrazy appliance just for natlabBrad Fitzpatrick1-3/+4
... rather than abusing the generic tsapp. Per discussion in https://github.com/gokrazy/gokrazy/pull/275 It also means we can remove stuff we don't need, like ntp or randomd. Updates #13038 Change-Id: Iccf579c354bd3b5025d05fa1128e32f1d5bde4e4 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-12cmd/tta, vnet: add host firewall, env var support, more testsBrad Fitzpatrick1-1/+1
In particular, tests showing that #3824 works. But that test doesn't actually work yet; it only gets a DERP connection. (why?) Updates #13038 Change-Id: Ie1fd1b6a38d4e90fae7e72a0b9a142a95f0b2e8f Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-09cmd/{tta,vnet}: proxy to gokrazy UIMaisem Ali1-0/+14
Updates #13038 Change-Id: I1cacb1b0f8c3d0e4c36b7890155f7b1ad0d23575 Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-08-09tstest/natlab/vnet: add port mappingBrad Fitzpatrick1-1/+2
Updates #13038 Change-Id: Iaf274d250398973790873534b236d5cbb34fbe0e Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-09natlab: add NodeAgentClientMaisem Ali1-2/+2
This adds a new NodeAgentClient type that can be used to invoke the LocalAPI using the LocalClient instead of handcrafted URLs. However, there are certain cases where it does make sense for the node agent to provide more functionality than whats possible with just the LocalClient, as such it also exposes a http.Client to make requests directly. Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-08-09vnet: add control/derps to test, stateful firewallBrad Fitzpatrick1-1/+3
Updates #13038 Change-Id: Icd65b34c5f03498b5a7109785bb44692bce8911a Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-08-07tstest/natlab/vnet: add start of virtual network-based NAT LabBrad Fitzpatrick2-0/+121
Updates #13038 Change-Id: I3c74120d73149c1329288621f6474bbbcaa7e1a6 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>