Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.
Serververse™ Transit gives your Linux server a dedicated public IP routed through the Serververse network. Provisioning is token-based: the dashboard generates a single install command that configures and brings up the tunnel for you.
Make sure you have out-of-band access (IPMI, VNC, or a provider console) before you start. A misconfigured route can temporarily cut off SSH.
Before you begin
A Linux server
VPS, bare-metal server, or homelab machine. For LXC containers, follow the LXC Container Setup guide.
Root access
You’ll need root or sudo on the server.
curl or wget
Used to download and run the installer.
Network Transit access
A Serververse account with a transit tunnel assigned.
Unsupported environments
LXC containers require/dev/net/tun passthrough before installation. Follow the LXC Container Setup guide to configure the container first.
Click a tunnel to see its public IP, connection status, and settings.
The installer adds sv-transit to your server automatically.
Every command except version needs root, so run them with sudo. Your provisioning token is the --token value in the install command from the dashboard.
Command
What it does
install
Sets up the tunnel on this machine
status
Shows whether the tunnel is up and its last handshake
Migrate deletes all WireGuard configs in /etc/wireguard, not just Serververse ones. Back up any other tunnels first.Don’t run it over SSH through the transit IP, or you’ll lose access mid-migration. Use the console or another IP.
Uninstall
sudo sv-transit uninstall
To also remove the sv-transit command:
sudo sv-transit uninstall --purge
Traffic to your public IP stops immediately. Don’t run this over a connection that uses the transit IP.
Version
sv-transit version
Troubleshooting
SSH dropped after running the installer
A routing rule has most likely overridden your default gateway. Connect through out-of-band access (IPMI, VNC, or console) and fix the routing table, or restore from a snapshot.
Installer says the token is invalid or expired
Tokens are single-use and time-limited. Return to the tunnel in the dashboard, click Generate command again, and run the new command.
Installer fails or the tunnel won't come up in a container
LXC containers require access to /dev/net/tun and the wireguard-go package before installation. Follow the LXC Container Setup guide and verify the container prerequisites before running the installer.
Tunnel is unstable or traffic breaks with Tailscale installed
Tailscale shouldn’t be installed on the same server as Network Transit, as the two conflict. Remove Tailscale from the server, then check the tunnel with sudo sv-transit status. If it’s still down, generate a fresh command in the dashboard and re-run the installer.
Public IP isn't reachable externally
Edge provisioning can take 1–2 minutes to propagate. If it still fails:
Check the tunnel interface is up: wg show
Check the loopback interface has your transit IP: ip addr show lo
Confirm your tunnel is still active in the dashboard
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Serververse™ Docs","description":"Any Problem Occured?, Here's your Solution @ Serververse","colors":{"primary":"#ffa632","light":"#ffa632","dark":"#ffa632"},"logo":{"light":"https://mintcdn.com/serververse/X9Gcks2daAqA6o40/images/6.png?fit=max\u0026auto=format\u0026n=X9Gcks2daAqA6o40\u0026q=85\u0026s=4f048e81da4c5c8e0b8e9d8c5e75e4d5","dark":"https://mintcdn.com/serververse/uMHXSNGTj72tqmba/favicon.ico?fit=max\u0026auto=format\u0026n=uMHXSNGTj72tqmba\u0026q=85\u0026s=b4e95cc7b6aeb008839f71161e8f7b5a","href":"https://www.serververs.com"},"favicon":"https://mintcdn.com/serververse/uMHXSNGTj72tqmba/favicon.ico?fit=max\u0026auto=format\u0026n=uMHXSNGTj72tqmba\u0026q=85\u0026s=b4e95cc7b6aeb008839f71161e8f7b5a","api":{"playground":{"display":"interactive"}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://www.serververs.com","label":"Website"},{"href":"https://www.serververs.com/blog/","label":"Blog"},{"href":"mailto:care@serververs.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://store.serververs.com/dashboard"}},"footer":{"socials":{"x":"https://x.com/serververs","github":"https://github.com/serververs","linkedin":"https://linkedin.com/company/serververse","discord":"https://discord.gg/serververse","instagram":"https://instagram.com/serververs","medium":"https://medium.com/@serververse","reddit":"https://www.reddit.com/r/Serververse","hacker-news":"https://news.ycombinator.com/user?id=serververse","youtube":"https://www.youtube.com/@serververse","facebook":"https://www.facebook.com/profile.php?id=61558230523697"},"links":[{"header":"Serververse","items":[{"label":"Website","href":"https://www.serververs.com"},{"label":"Game servers","href":"https://www.serververs.com/game-server-hosting"},{"label":"VPS","href":"https://www.serververs.com/vps"},{"label":"Shield","href":"https://www.serververs.com/shield"},{"label":"Blog","href":"https://www.serververs.com/blog"},{"label":"Forum","href":"https://www.serververs.com/forum"}]}]},"seo":{"indexing":"navigable"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/pXmG5CuveT"},{"anchor":"Updates at X","icon":"x-twitter","href":"https://x.com/serververs"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"serververse","hasAudioNarration":false,"actualSubdomain":"serververse","customDomains":["docs.serververs.com"],"gitSource":{"type":"github","owner":"serververs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{},"buildId":"6b03ed6fd48387065b232f9f","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Web","count":2},{"language":"default","tag":"Get Started","count":2},{"language":"default","tag":"Labs","count":2},{"language":"default","tag":"Cloud","count":1},{"language":"default","tag":"Minecraft","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"labs/ip-transit/tunneling","slug":"/labs/ip-transit/tunneling","pageMetadata":{"title":"Tunneling setup for cloud providers","sidebarTitle":"Tunneling setup","description":"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.","icon":"network-wired","href":"/labs/ip-transit/tunneling"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Check,CodeBlock,CodeGroup,Frame,Heading,Note,OptimizedImage,Step,Steps,Tab,Table,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Check)_missingMdxReference(`Check`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Serververse™ Transit`}),` gives your Linux server a dedicated public IP routed through the Serververse network. Provisioning is token-based: the dashboard generates a single install command that configures and brings up the tunnel for you.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Make sure you have `,_jsx(_components.strong,{children:`out-of-band access`}),` (IPMI, VNC, or a provider console) before you start. A misconfigured route can temporarily cut off SSH.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-begin`,children:`Before you begin`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`A Linux server`,icon:`server`,children:_jsxs(_components.p,{children:[`VPS, bare-metal server, or homelab machine. For LXC containers, follow the `,_jsx(_components.a,{href:`/labs/ip-transit/tunneling-lxc`,children:`LXC Container Setup`}),` guide.`]})}),_jsx(Card,{title:`Root access`,icon:`lock`,children:_jsxs(_components.p,{children:[`You’ll need `,_jsx(_components.code,{children:`root`}),` or `,_jsx(_components.code,{children:`sudo`}),` on the server.`]})}),_jsx(Card,{title:`curl or wget`,icon:`terminal`,children:_jsx(_components.p,{children:`Used to download and run the installer.`})}),_jsx(Card,{title:`Network Transit access`,icon:`user-check`,children:_jsx(_components.p,{children:`A Serververse account with a transit tunnel assigned.`})})]}),`\n`,_jsx(Heading,{level:`3`,id:`unsupported-environments`,children:`Unsupported environments`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`LXC containers require`}),` `,_jsx(_components.code,{children:`/dev/net/tun `}),_jsx(_components.strong,{children:`passthrough before installation.`}),` Follow the `,_jsx(_components.a,{href:`/labs/ip-transit/tunneling-lxc`,children:`LXC Container Setup`}),` guide to configure the container first.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`set-up-your-tunnel`,children:`Set up your tunnel`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open your tunnel in the dashboard`,children:[_jsxs(_components.p,{children:[`Sign in to the `,_jsx(_components.a,{href:`https://labs.serververs.com`,children:`Serververse Labs Dashboard`}),`.`]}),_jsx(Frame,{caption:`Sign in to the dashboard`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=91159cc56d5665fa2d6f47cb89a8a1df`,alt:`Serververse Labs sign-in page`,\"data-og-width\":`1901`,width:`1901`,\"data-og-height\":`931`,height:`931`,\"data-path\":`labs/images/ip-transit/dashboard-login.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=a054bf5471549effc6db75956a8eb160 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=38f99f8812a63957357c17c6beddbaed 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=92c5002606e2a93b73964b2db05fa7f7 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=9b99e4d67df839de51921fac3ba049a5 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=9cb5ccab66a0abed25b9cb4e9ab887a0 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-login.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=f26861561ccbab421306fa374eada808 2500w`})}),_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Tunnels`}),`.`]}),_jsx(Frame,{caption:`Your tunnels`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=4e11dec4e87a4473e913ef1a6dc3c53c`,alt:`Network Transit tunnels list`,\"data-og-width\":`1899`,width:`1899`,\"data-og-height\":`923`,height:`923`,\"data-path\":`labs/images/ip-transit/dashboard-tunnels-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=ae0b7acadf9312ff226f0b20ebd92ed6 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=c0857495b232cb651e6cf5d716263916 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=8d18063902a68b3e4e8c16c75c256713 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=e906ba6f17c58fa33340df82607075fc 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=52aaac4b939825ee1d2ec56863b58f48 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnels-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=3dc494ee0ee18dbe4a80804d3232cf54 2500w`})}),_jsx(_components.p,{children:`Your assigned tunnel appears as a card. Click it to open the tunnel details.`}),_jsx(Frame,{caption:`Assigned tunnel card`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=497d8ef1a3c3d0d468ade98084ef380a`,alt:`Assigned tunnel card`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`935`,height:`935`,\"data-path\":`labs/images/ip-transit/cloud-tunnel-card.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=53560be52f12ca74584ecd1dde6db103 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=2ae5b280541589cba634f62a9953e93a 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=4a14c331d13b122009fd55fe5ca0cc9f 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=d4590b55a5420f8c157300e5a27b7e8b 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=cad38bc16a629052fdfb42b1a5bd03e2 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-tunnel-card.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=a04dc8bbd0a56157a3980f4443d82d35 2500w`})})]}),_jsxs(Step,{title:`Copy your install command`,children:[_jsxs(_components.p,{children:[`The details page shows your public IP, bandwidth usage, and transfer rate. Click `,_jsx(_components.strong,{children:`Generate command`}),` to copy the install command to your clipboard.`]}),_jsx(Frame,{caption:`Generate the command`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=15a17b6a5cba823c88b74f7700e3dfb2`,alt:`Generate command button`,\"data-og-width\":`1899`,width:`1899`,\"data-og-height\":`927`,height:`927`,\"data-path\":`labs/images/ip-transit/cloud-generate-command.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=5b1b9796cec522209f9deff9d39ffeba 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=15ee657e6b07db526eef07da41a1220c 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=cad43fd97862d77faffa99e54b94966f 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=7b778fe9018d83e7fd91d18aaac11ae5 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=234587724cb2a37e2621ccabaa14b6f2 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-generate-command.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=faf63e8cd5d4dc52455f9f320b1bdba8 2500w`})}),_jsx(Frame,{caption:`Command copied to clipboard`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=d6360aa6e14fa82800b15e7a8b4c4727`,alt:`Command copied confirmation`,\"data-og-width\":`1896`,width:`1896`,\"data-og-height\":`930`,height:`930`,\"data-path\":`labs/images/ip-transit/cloud-command-copied.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=f0e259aede81601ded77608636335250 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=21951e8aafa349d698546e80aafbb3f9 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=5e3f8f6ca851cc15cfd57279a17da362 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=f65319caa07db754c6f1739a59ed155a 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=880d9b71db3a96b5d0d1feb03e1f6305 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/cloud-command-copied.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=1be3177d164a07658df6abe2fb6ab780 2500w`})}),_jsx(Note,{children:_jsx(_components.p,{children:`The command is unique to your account and transit IP. Treat it like a password and don’t share it publicly.`})})]}),_jsxs(Step,{title:`Run the installer`,children:[_jsx(_components.p,{children:`SSH into your server and paste the command. It looks like this:`}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`curl`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bash`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \u003c(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://labs-api.serververs.com/api/v0.3/provision/install.sh)`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_TOKE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`N`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`wget`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsx(_components.code,{language:`shellscript`})})})]}),_jsxs(Steps,{children:[_jsxs(Step,{children:[_jsx(_components.p,{children:`The installer:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Validates your provisioning token`}),`\n`,_jsx(_components.li,{children:`Configures Transit for your use case`}),`\n`,_jsxs(_components.li,{children:[`Brings up the `,_jsx(_components.code,{children:`sv-transit`}),` tunnel interface`]}),`\n`,_jsx(_components.li,{children:`Routes your allocated public IP through the Serververse network`}),`\n`,_jsxs(_components.li,{children:[`Installs the `,_jsx(_components.code,{children:`sv-transit`}),_jsx(_components.a,{href:`#manage-your-tunnel`,children:` CLI`})]}),`\n`]})]}),_jsxs(Step,{title:`Verify the tunnel`,children:[_jsx(_components.p,{children:`Check that the interface is up:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` link`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` show`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`})]}),`\n`]})})}),_jsx(_components.p,{children:`Then confirm traffic leaves through your routed IP:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -4`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --interface`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`YOUR_ROUTED_I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`P`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ip.me`})]}),`\n`]})})}),_jsx(Check,{children:_jsx(_components.p,{children:`The IP returned should match the transit IP shown in your dashboard.`})}),_jsxs(_components.p,{children:[`In the dashboard, the tunnel should show as `,_jsx(_components.strong,{children:`Online`}),`, with a recent last handshake, your public IP, and live bandwidth.`]}),_jsx(Frame,{caption:`An online tunnel in the dashboard`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=83d2087b0b5d0463487e4c807aa64ab7`,alt:`Tunnel details page showing an online tunnel`,\"data-og-width\":`1895`,width:`1895`,\"data-og-height\":`931`,height:`931`,\"data-path\":`labs/images/ip-transit/dashboard-tunnel-details.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=280\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=46338b9d458cc34c9f8fe3ef05d5c68b 280w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=560\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=0a7b5a418f5888ca16c6d60cf4fc49b9 560w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=840\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=863b4c09298146148b6c94700bb0f394 840w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=6bbbe0c1c06d377566b54bdc9881e9b4 1100w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=850078d783dd36fa867c3887de08d939 1650w, https://mintcdn.com/serververse/8tdQmPDJN_khTQSY/labs/images/ip-transit/dashboard-tunnel-details.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8tdQmPDJN_khTQSY\u0026q=85\u0026s=79ea613137b60fc8ead3279ade745fe1 2500w`})})]})]}),_jsx(Heading,{level:`2`,id:`manage-your-tunnel`,children:`Manage your tunnel`}),_jsxs(_components.p,{children:[`Manage your tunnel from the `,_jsx(_components.strong,{children:`dashboard`}),`, or directly on the server with the `,_jsx(_components.code,{children:`sv-transit `}),_jsx(_components.strong,{children:`CLI`}),`.`]})]})]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Dashboard`,id:`dashboard`,children:[_jsx(_components.p,{children:`View and manage all your tunnels in one place.`}),_jsxs(Steps,{children:[_jsx(Step,{title:`Sign in`,children:_jsxs(_components.p,{children:[`Open the `,_jsx(_components.a,{href:`https://labs.serververs.com`,children:`Serververse Labs Dashboard`}),`.`]})}),_jsx(Step,{title:`Open Network Transit`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Network Transit`}),`.`]})}),_jsx(Step,{title:`Select a tunnel`,children:_jsx(_components.p,{children:`Click a tunnel to see its public IP, connection status, and settings.`})})]})]}),_jsxs(Tab,{title:`sv-transit CLI`,id:`sv-transit-cli`,\"data-child-heading-ids\":`[\"install\",\"check-status\",\"migrate-from-an-older-version\",\"uninstall\",\"version\"]`,children:[_jsxs(_components.p,{children:[`The installer adds `,_jsx(_components.code,{children:`sv-transit`}),` to your server automatically.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Every command except `,_jsx(_components.code,{children:`version`}),` needs root, so run them with `,_jsx(_components.code,{children:`sudo`}),`. Your provisioning token is the `,_jsx(_components.code,{children:`--token`}),` value in the install command from the dashboard.`]})}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Command`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`install`})}),_jsx(_components.td,{children:`Sets up the tunnel on this machine`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`Shows whether the tunnel is up and its last handshake`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`migrate`})}),_jsx(_components.td,{children:`Replaces an older install with a fresh one`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`uninstall`})}),_jsxs(_components.td,{children:[`Removes the tunnel (alias: `,_jsx(_components.code,{children:`remove`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`version`})}),_jsx(_components.td,{children:`Prints the CLI version`})]})]})]}),_jsx(Heading,{level:`3`,id:`install`,children:`Install`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`provisioning-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`For scripted setups, add `,_jsx(_components.code,{children:`--yes`}),` to accept the Terms of Service without a prompt:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`provisioning-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --yes`})]}),`\n`]})})}),_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--yes`}),` only skips the Terms of Service prompt. Safety warnings for `,_jsx(_components.code,{children:`migrate`}),` and `,_jsx(_components.code,{children:`uninstall`}),` are always shown.`]})}),_jsx(Heading,{level:`3`,id:`check-status`,children:`Check status`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`migrate-from-an-older-version`,children:`Migrate from an older version`}),_jsxs(_components.p,{children:[`Stops `,_jsx(_components.strong,{children:`every`}),` WireGuard tunnel on the machine, clears `,_jsx(_components.code,{children:`/etc/wireguard`}),`, and runs a fresh install with your token.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` migrate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`provisioning-toke`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsxs(Warning,{children:[_jsxs(_components.p,{children:[`Migrate deletes `,_jsx(_components.strong,{children:`all`}),` WireGuard configs in `,_jsx(_components.code,{children:`/etc/wireguard`}),`, not just Serververse ones. Back up any other tunnels first.`]}),_jsx(_components.p,{children:`Don’t run it over SSH through the transit IP, or you’ll lose access mid-migration. Use the console or another IP.`})]}),_jsx(Heading,{level:`3`,id:`uninstall`,children:`Uninstall`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uninstall`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`To also remove the `,_jsx(_components.code,{children:`sv-transit`}),` command:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uninstall`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --purge`})]}),`\n`]})})}),_jsx(Warning,{children:_jsx(_components.p,{children:`Traffic to your public IP stops immediately. Don’t run this over a connection that uses the transit IP.`})}),_jsx(Heading,{level:`3`,id:`version`,children:`Version`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sv-transit`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` version`})]}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`SSH dropped after running the installer`,icon:`plug-circle-xmark`,id:`ssh-dropped-after-running-the-installer`,children:_jsx(_components.p,{children:`A routing rule has most likely overridden your default gateway. Connect through out-of-band access (IPMI, VNC, or console) and fix the routing table, or restore from a snapshot.`})}),_jsx(Accordion,{title:`Installer says the token is invalid or expired`,icon:`key`,id:`installer-says-the-token-is-invalid-or-expired`,children:_jsxs(_components.p,{children:[`Tokens are single-use and time-limited. Return to the tunnel in the dashboard, click `,_jsx(_components.strong,{children:`Generate command`}),` again, and run the new command.`]})}),_jsx(Accordion,{title:`Installer fails or the tunnel won't come up in a container`,icon:`box`,id:`installer-fails-or-the-tunnel-wont-come-up-in-a-container`,children:_jsxs(_components.p,{children:[`LXC containers require access to `,_jsx(_components.code,{children:`/dev/net/tun`}),` and the `,_jsx(_components.code,{children:`wireguard-go`}),` package before installation. Follow the `,_jsx(_components.a,{href:`https://docs.serververs.com/labs/ip-transit/tunneling-lxc`,children:`LXC Container Setup`}),` guide and verify the container prerequisites before running the installer.`]})}),_jsx(Accordion,{title:`Tunnel is unstable or traffic breaks with Tailscale installed`,icon:`triangle-exclamation`,id:`tunnel-is-unstable-or-traffic-breaks-with-tailscale-installed`,children:_jsxs(_components.p,{children:[`Tailscale shouldn’t be installed on the same server as Network Transit, as the two conflict. Remove Tailscale from the server, then check the tunnel with `,_jsx(_components.code,{children:`sudo sv-transit status`}),`. If it’s still down, generate a fresh command in the dashboard and re-run the installer.`]})}),_jsxs(Accordion,{title:`Public IP isn't reachable externally`,icon:`globe`,id:`public-ip-isnt-reachable-externally`,children:[_jsx(_components.p,{children:`Edge provisioning can take 1–2 minutes to propagate. If it still fails:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Check the tunnel interface is up: `,_jsx(_components.code,{children:`wg show`})]}),`\n`,_jsxs(_components.li,{children:[`Check the loopback interface has your transit IP: `,_jsx(_components.code,{children:`ip addr show lo`})]}),`\n`,_jsx(_components.li,{children:`Confirm your tunnel is still active in the dashboard`}),`\n`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Hypervisor setup`,icon:`server`,href:`/labs/ip-transit/tunneling-hypervisor`,children:_jsx(_components.p,{children:`Route a whole subnet to VMs on Proxmox.`})}),_jsx(Card,{title:`Customer API`,icon:`code`,href:`/labs/ip-transit/transit-api`,children:_jsx(_components.p,{children:`Manage tunnels from your own scripts.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Tunneling setup for cloud providers","sidebarTitle":"Tunneling setup","description":"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.","icon":"network-wired","href":"/labs/ip-transit/tunneling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you begin","slug":"before-you-begin","depth":2,"children":[{"title":"Unsupported environments","slug":"unsupported-environments","depth":3,"children":[]}]},{"title":"Set up your tunnel","slug":"set-up-your-tunnel","depth":2,"children":[]},{"title":"Manage your tunnel","slug":"manage-your-tunnel","depth":2,"children":[{"title":"Install","slug":"install","depth":3,"children":[],"tabId":"sv-transit-cli"},{"title":"Check status","slug":"check-status","depth":3,"children":[],"tabId":"sv-transit-cli"},{"title":"Migrate from an older version","slug":"migrate-from-an-older-version","depth":3,"children":[],"tabId":"sv-transit-cli"},{"title":"Uninstall","slug":"uninstall","depth":3,"children":[],"tabId":"sv-transit-cli"},{"title":"Version","slug":"version","depth":3,"children":[],"tabId":"sv-transit-cli"}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"serververse","siteName":"Serververse™ Docs","title":"Tunneling setup for cloud providers - Serververse™ Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T07:38:25.598Z","originalFileLocation":"labs/ip-transit/tunneling.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Serververse™ Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Tunneling setup for cloud providers - Serververse™ Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Serververse™ Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.serververs.com/labs/ip-transit/tunneling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://serververse.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Tunneling+setup+for+cloud+providers\u0026amp;description=Deploy+a+Serververse%E2%84%A2+Transit+tunnel+on+your+cloud+server+and+route+a+real+public+IP+to+it.\u0026amp;theme=2ed367db20e54f0ce633f934\u0026amp;signature=c627e6538c5e11283e2a397dbb6147cfa7773771e4027eea30a2f4cf3da50a2b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Tunneling setup for cloud providers - Serververse™ Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deploy a Serververse™ Transit tunnel on your cloud server and route a real public IP to it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://serververse.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Tunneling+setup+for+cloud+providers\u0026amp;description=Deploy+a+Serververse%E2%84%A2+Transit+tunnel+on+your+cloud+server+and+route+a+real+public+IP+to+it.\u0026amp;theme=2ed367db20e54f0ce633f934\u0026amp;signature=c627e6538c5e11283e2a397dbb6147cfa7773771e4027eea30a2f4cf3da50a2b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/serververse/jwAbUla1SL1khuyW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Serververse™ Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ffa632\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.serververs.com/labs/ip-transit/tunneling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/labs/ip-transit/tunneling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Serververse™ Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Serververse™ Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/labs/ip-transit/tunneling.md","siteName":"Serververse™ Docs","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/pXmG5CuveT"},{"anchor":"Updates at X","icon":"x-twitter","href":"https://x.com/serververs"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Serververse™ Docs","href":"/introduction"},{"title":"Quickstart Guide","href":"/quickstart"}]},{"group":"Minecraft","pages":[{"title":"How to Start Your Minecraft Server","href":"/minecraft/start"}]},{"group":"Web","pages":[{"title":"Web Services","href":"/web/index"},{"title":"Email Hosting","href":"/email/index"}]},{"group":"Cloud","pages":[{"title":"Cloud","href":"/cloud/index"}]},{"group":"Labs","pages":[{"title":"IP Transit","href":"/labs/ip-transit/begin"},{"title":"Shield","href":"/shield"}]}]}]},"basePath":"","title":"Tunneling setup for cloud providers - Serververse™ Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-C7yGukkT.js","DynamicMarkdown-XsrWkK-b.js","zoom-image-lightbox-C5J5Gw3i.js","lightbox-handle-r17bVUz3.js"]}