{"title":"Network","description":"How Altertable workers reach your catalogs. Allow these egress IP addresses, or connect through an SSH tunnel when the database is not publicly reachable.","order":110,"askSuggestions":["How do I connect through an SSH tunnel?","How do I allow Altertable's IP addresses in Snowflake?","Do self-hosted Workers need these IP addresses allowed?"],"navigation":true,"body":{"code":"var Component=(()=>{var w=Object.create;var a=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),S=(t,e)=>{for(var n in e)a(t,n,{get:e[n],enumerable:!0})},d=(t,e,n,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of g(e))!m.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(o=f(e,r))||o.enumerable});return t};var b=(t,e,n)=>(n=t!=null?w(p(t)):{},d(e||!t||!t.__esModule?a(n,\"default\",{value:t,enumerable:!0}):n,t)),x=t=>d(a({},\"__esModule\",{value:!0}),t);var l=k((A,c)=>{c.exports=_jsx_runtime});var y={};S(y,{default:()=>u,frontmatter:()=>v});var s=b(l()),v={title:\"Network\",description:\"How Altertable workers reach your catalogs. Allow these egress IP addresses, or connect through an SSH tunnel when the database is not publicly reachable.\",order:110,askSuggestions:[\"How do I connect through an SSH tunnel?\",\"How do I allow Altertable's IP addresses in Snowflake?\",\"Do self-hosted Workers need these IP addresses allowed?\"]};function h(t){let e={a:\"a\",code:\"code\",h1:\"h1\",h2:\"h2\",h3:\"h3\",li:\"li\",p:\"p\",strong:\"strong\",ul:\"ul\",...t.components},{DocsEgressIpAddresses:n,DocsPreviewDocument:o,DocsPreviewSection:r}=e;return n||i(\"DocsEgressIpAddresses\",!0),o||i(\"DocsPreviewDocument\",!0),r||i(\"DocsPreviewSection\",!0),(0,s.jsxs)(o,{anchors:\"network egress-ip-addresses where-to-allow-them tls-and-ssh-host-verification\",children:[(0,s.jsxs)(r,{sectionId:\"network\",sectionTitle:\"Network\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,s.jsx)(e.h1,{id:\"network\",children:\"Network\"}),`\n`,(0,s.jsxs)(e.p,{children:[\"Managed \",(0,s.jsx)(e.a,{href:\"/docs/lakehouse/compute/workers\",children:\"Workers\"}),\" connect to your databases and warehouses over the network. If inbound traffic is restricted, allow Altertable's egress IP addresses. If the catalog is not reachable from the public internet, you can also connect through an \",(0,s.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"SSH tunnel\"}),\".\"]}),`\n`]}),(0,s.jsxs)(r,{sectionId:\"egress-ip-addresses\",sectionTitle:\"Egress IP addresses\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,s.jsx)(e.h2,{id:\"egress-ip-addresses\",children:\"Egress IP addresses\"}),`\n`,(0,s.jsx)(e.p,{children:\"Managed Workers connect from a fixed set of public IPv4 addresses. Allow these addresses so Altertable can reach the catalog.\"}),`\n`,(0,s.jsx)(e.p,{children:\"Self-hosted Workers use your own network instead. They do not egress from the addresses below.\"}),`\n`,(0,s.jsxs)(e.p,{children:[\"Allow every address. Firewalls that require a prefix can use \",(0,s.jsx)(e.code,{children:\"/32\"}),\".\"]}),`\n`,(0,s.jsx)(n,{}),`\n`]}),(0,s.jsxs)(r,{sectionId:\"where-to-allow-them\",sectionTitle:\"Where to allow them\",anchors:\"\",ancestors:\"egress-ip-addresses\",index:\"2\",children:[(0,s.jsx)(e.h3,{id:\"where-to-allow-them\",children:\"Where to allow them\"}),`\n`,(0,s.jsxs)(e.ul,{children:[`\n`,(0,s.jsxs)(e.li,{children:[(0,s.jsx)(e.strong,{children:(0,s.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs/mongodb\",children:\"MongoDB Atlas\"})}),\": \",(0,s.jsx)(e.a,{href:\"https://www.mongodb.com/docs/atlas/security/ip-access-list/\",children:\"IP Access List\"}),\" under \",(0,s.jsx)(e.strong,{children:\"Network Access\"}),\". Add each address (or \",(0,s.jsx)(e.code,{children:\"address/32\"}),\").\"]}),`\n`,(0,s.jsxs)(e.li,{children:[(0,s.jsx)(e.strong,{children:(0,s.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs/snowflake\",children:\"Snowflake\"})}),\": include the addresses in a network rule and attach it to the user Altertable uses.\"]}),`\n`,(0,s.jsxs)(e.li,{children:[(0,s.jsx)(e.strong,{children:\"Self-hosted databases\"}),\": allow inbound TCP from these addresses on the database port, or connect through an \",(0,s.jsx)(e.a,{href:\"/docs/lakehouse/external-catalogs\",children:\"SSH tunnel\"}),\".\"]}),`\n`]}),`\n`]}),(0,s.jsxs)(r,{sectionId:\"tls-and-ssh-host-verification\",sectionTitle:\"TLS and SSH host verification\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,s.jsx)(e.h2,{id:\"tls-and-ssh-host-verification\",children:\"TLS and SSH host verification\"}),`\n`,(0,s.jsxs)(e.p,{children:[\"Postgres and MySQL connections expose an \",(0,s.jsx)(e.strong,{children:\"SSL mode\"}),\" setting. Choose the mode your database requires and test the connection before saving. Certificate-verifying modes require a valid certificate chain and, for hostname verification, a matching database hostname.\"]}),`\n`,(0,s.jsx)(e.p,{children:\"For an SSH tunnel, provide the server's known-hosts entry as well as its host, user, and authentication settings. Confirm the host key with the server administrator before saving; a changed key requires updating the trusted entry.\"})]})]})}function u(t={}){let{wrapper:e}=t.components||{};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(h,{...t})}):h(t)}function i(t,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return x(y);})();\n;return Component;"},"_id":"docs/administration/network.mdx","_raw":{"sourceFilePath":"docs/administration/network.mdx","sourceFileName":"network.mdx","sourceFileDir":"docs/administration","contentType":"mdx","flattenedPath":"docs/administration/network"},"type":"Docs","path":"/administration/network","level":2,"parent":"administration"}