PageSourceSearch

https://docs.blink.sh/_next/static/chunks/pages/advanced/socks-a282d0c3c8043dfe.js

js blink.sh collected 2026-10-02 03:44:47 UTC 11,968 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[856],{7550:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/advanced/socks",function(){return t(8999)}])},6692:function(e,n,t){"use strict";var a=t(5893),o=(t(7294),t(4298),function(){return(0,a.jsxs)("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"2em",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},children:[(0,a.jsx)("rect",{width:1024,height:1024,rx:180,fill:"#060D0E"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M512.727 93.38c111.979 0 217.255 43.544 296.438 122.611 79.179 79.067 122.787 184.191 122.787 296.01 0 111.817-43.608 216.941-122.787 296.008-79.183 79.067-184.459 122.611-296.438 122.611-111.98 0-217.257-43.544-296.438-122.611-79.181-79.067-122.788-184.191-122.788-296.008 0-111.819 43.607-216.943 122.788-296.01C295.47 136.924 400.747 93.38 512.727 93.38ZM148.16 512.001c0 200.731 163.544 364.038 364.567 364.038s364.565-163.307 364.565-364.038c0-200.733-163.542-364.04-364.565-364.04S148.16 311.268 148.16 512.001Z",fill:"#0AE0F0"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M363.584 725.579h72.778l226.914-425.113h-73.384L363.584 725.579Z",fill:"#fff"})]})});n.Z={projectLink:"https://github.com/blinksh/docs",docsRepositoryBase:"https://github.com/blinksh/docs/blob/master/src/pages",projectChatLink:"https://discord.gg/ZTtMfvK",titleSuffix:" \u2013 Blink Shell",logo:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{}),(0,a.jsx)("span",{className:"mr-2 ml-2 font-extrabold hidden md:inline",children:"Blink Shell"}),(0,a.jsx)("span",{className:"text-gray-600 font-normal hidden md:inline",children:"Top mobile terminal for Apple devices."})]}),head:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,a.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,a.jsx)("meta",{name:"description",content:"Blink Shell: The top mobile terminal for Apple devices. Blazing fast, full-featured, and loved by developers around the world. It's giving you the freedom to develop anywhere, anytime."}),(0,a.jsx)("meta",{name:"og:description",content:"Blink Shell: The top mobile terminal for Apple devices. Blazing fast, full-featured, and loved by developers around the world. It's giving you the freedom to develop anywhere, anytime."}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:handle",content:"blinkshell"}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://blink.sh/og.png"}),(0,a.jsx)("meta",{name:"twitter:site:domain",content:"blink.sh"}),(0,a.jsx)("meta",{name:"twitter:url",content:"https://blink.sh"}),(0,a.jsx)("meta",{name:"og:title",content:"Blink Shell: Blink Shell: The top mobile terminal for Apple devices."}),(0,a.jsx)("meta",{name:"og:image",content:"https://docs.blink.sh/og.png"}),(0,a.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Blink Shell"}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-icon-180x180.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-icon-192x192.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/favicon-96x96.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,a.jsx)("meta",{name:"msapplication-TileImage",content:"/ms-icon-144x144.png"}),(0,a.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1594898306"}),(0,a.jsx)("script",{src:"https://www.googletagmanager.com/gtag/js?id=UA-84834352-1",strategy:"afterInteractive"}),(0,a.jsx)("script",{id:"google-analytics",strategy:"afterInteractive",children:"\n\t  window.dataLayer = window.dataLayer || [];\n\t  function gtag(){window.dataLayer.push(arguments);}\n\t  gtag('js', new Date());\n\n\t  gtag('config', 'UA-84834352-1');\n\t"})]})},search:!0,unstable_faviconGlyph:"\u2726",defaultMenuCollapsed:!0,prevLinks:!0,nextLinks:!0,floatTOC:!0,footer:!0,footerEditLink:"Edit this page on GitHub",footerText:(0,a.jsxs)(a.Fragment,{children:["\xa9 ",(new Date).getFullYear()," Blink Shell is developed by Blink Shell Inc."]}),darkMode:!0}},8999:function(e,n,t){"use strict";t.r(n);
1var a=t(1799),o=t(9396),s=t(5893),i=t(7308),l=t(5142),r=t(6692),c=t(1151),d=(t(5675),"SOCKS5");function u(e){var n=Object.assign({h1:"h1",p:"p",a:"a",ol:"ol",li:"li",h2:"h2",code:"code"},(0,c.ah)(),e.components);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.h1,{children:"SOCKS5"}),"\n",(0,s.jsx)(n.p,{children:"Blink comes with dynamic port forwarding support, aka SOCKS5 server or proxy. This is perfect as a simple VPN that allows you to browse the internet using a remote machine as a proxy, or - a more critical dev scenario - to access backend services behind a Firewall. As a SOCKS proxy sits at layer 5 of the OSI stack, its performance is also astounding, try for yourself!"}),"\n",(0,s.jsxs)(n.p,{children:["For a thorough explanation on how a SOCKS proxy works, please read the ",(0,s.jsx)(n.a,{href:"https://securityintelligence.com/posts/socks-proxy-primer-what-is-socks5-and-why-should-you-use-it/",children:"SOCKS5 Proxy Primer"}),". We wanna remark three features here:"]}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"DNS resolution happens at the host, so your requests are more secure and also will allow you to access services at the host side, like behind a firewall."}),"\n",(0,s.jsx)(n.li,{children:"As mentioned, SOCKS sits at the layer 5 of the OSI stack. This means TLS is negotiated between the browser and the host, so your requests are fully secure."}),"\n",(0,s.jsx)(n.li,{children:"Our current implementation only supports TCP traffic and not UDP."}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"configuration-on-ios",children:"Configuration on iOS"}),"\n",(0,s.jsx)(n.p,{children:"Within iOS, you can configure all your traffic to be routed through Blink Proxy. This is really cool, as other apps can also make use of it."}),"\n",(0,s.jsxs)(n.ol,{children:["\n",(0,s.jsx)(n.li,{children:"Open: Settings > Wi-Fi > Connection Information > Http Proxy | Configure Proxy"}),"\n",(0,s.jsxs)(n.li,{children:["Select Automatic, and introduce ",(0,s.jsx)(n.a,{href:"https://blink.sh/proxy.pac",children:"https://blink.sh/proxy.pac"})]}),"\n",(0,s.jsxs)(n.li,{children:["To start dynamic port forwarding inside Blink, just type the usual ",(0,s.jsx)(n.code,{children:"ssh -D 10800 <host>"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["As this is an ssh tunnel, we would recommend that you also do ",(0,s.jsx)(n.code,{children:"geo track"})," to ensure that the connection is locked while you are browsing."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"The usual SOCKS5 port is 1080, but it is currently taken by iOS. Our own blink.sh/proxy.pac file configures the listener on port 10800. If you would like to use a different port, you will need to use your own proxy.pac file. We suggest creating a Gist with that configuration and link to it instead."})]})}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},(0,c.ah)(),e.components),t=n.wrapper;return t?(0,s.jsx)(t,(0,o.Z)((0,a.Z)({},e),{children:(0,s.jsx)(u,(0,a.Z)({},e))})):u(e)}var m={filename:"socks.md",route:"/advanced/socks",meta:{},pageMap:[{name:"advanced",children:[{name:"advanced-mosh",route:"/advanced/advanced-mosh",locale:"",frontMatter:{id:"advanced-mosh",sidebar_position:2,sidebar_label:"Mosh",slug:"/advanced/advanced-mosh"}},{name:"advanced-ssh",route:"/advanced/advanced-ssh",locale:"",frontMatter:{id:"advanced-ssh",sidebar_position:1,sidebar_label:"SSH",slug:"/advanced/advanced-ssh"}},{name:"bookmarks",route:"/advanced/bookmarks",locale:""},{name:"code",route:"/advanced/code",locale:""},{name:"creating-fonts-and-themes",route:"/advanced/creating-fonts-and-themes",locale:""},{name:"files-app",route:"/advanced/files-app",locale:""},{name:"meta.json",locale:"",meta:{"advanced-ssh":"SSH",webauthn:"WebAuthn: Passkeys & Secure Keys","advanced-mosh":"Mosh","files-app":"Files.app",bookmarks:"Bookmarked Locations",vim:"Vim",code:"Code","unix-roundup":"UNIX Roundup",socks:"SOCKS","creating-fonts-and-themes":"Creating Fonts & Themes"}},{name:"socks",route:"/advanced/socks",locale:""},{name:"unix-roundup",route:"/advanced/unix-roundup",locale:""},{name:"vim",route:"/advanced/vim",locale:""},{name:"webauthn",route:"/advanced/webauthn",locale:""}],route:"/advanced"},{name:"basics",children:[{name:"commands",route:"/basics/commands",locale:""},{name:"customize",route:"/basics/customize",locale:""},{name:"hosts",route:"/basics/hosts",locale:""},{name:"meta.json",locale:"",meta:{hosts:"Hosts","ssh-keys":"SSH Keys",notifications:"Notifications",commands:"Commands",snips:"Snips",customize:"Customize","tips-and-tricks":"Tips & Tricks"}},{name:"notifications",route:"/basics/notifications",locale:""},{name:"snips",route:"/basics/snips",locale:""},{name:"ssh-keys",route:"/basics/ssh-keys",locale:""},{name:"tips-and-tricks",route:"/basics/tips-and-tricks",locale:""}],route:"/basics"},{name:"build",children:[{name:"cloud_disk",route:"/build/cloud_disk",locale:""},{name:"meta.json",locale:"",meta:{start:"Getting Started",cloud_disk:"Storage"}},{name:"start",route:"/build/start",locale:""}],route:"/build"},{name:"build-up",children:[{name:"code_server",route:"/build-up/code_server",locale:""},{name:"go",route:"/build-up/go",locale:""},{name:"meta.json",locale:"",meta:{code_server:"VS Code Server",go:"Go",nextjs:"Next.js",python_flask:"Python + Flask",rails:"Ruby on Rails",rust:"Rust"}},{name:"nextjs",route:"/build-up/nextjs",locale:""},{name:"python_flask",route:"/build-up/python_flask",locale:""},{name:"rails",route:"/build-up/rails",locale:""},{name:"rust",route:"/build-up/rust",locale:""}],route:"/build-up"},{name:"cloud-providers",children:[{name:"aws",route:"/cloud-providers/aws",locale:""},{name:"do",route:"/cloud-providers/do",locale:""},{name:"hetzner",route:"/cloud-providers/hetzner",locale:""},{name:"meta.json",locale:"",meta:{aws:"Amazon Web Services",do:"Digital Ocean",hetzner:"Hetzner"}}],route:"/cloud-providers"},{name:"faq",route:"/faq",locale:""},{name:"index",route:"/",locale:""},{name:"integrations",children:[{name:"meta.json",locale:"",meta:{"tailscale+mosh":{title:"Tailscale + Mosh"}}},{name:"tailscale+mosh",route:"/integrations/tailscale+mosh",locale:""}],route:"/integrations"},{name:"meta.json",locale:"",meta:{index:"Quick Start","what-is":"What is Blink Shell",basics:"Basics",advanced:"Advanced",integrations:{title:"Integrations"},"cloud-providers":"Cloud Providers",build:"Build","build-up":"Build Up","whats-new":"What's New?",faq:"FAQ",migration:"(Closed) Blink Shell 14"}},{name:"migration",route:"/migration",locale:""},{name:"what-is",route:"/what-is",locale:""},{name:"whats-new",route:"/whats-new",locale:""}],headings:[{type:"heading",depth:1,children:[{type:"text",value:"SOCKS5",position:{start:{line:1,column:3,offset:2},end:{line:1,column:9,offset:8}}}],position:{start:{line:1,column:1,offset:0},end:{line:1,column:9,offset:8}},value:"SOCKS5"},{type:"heading",depth:2,children:[{type:"text",value:"Configuration on iOS",position:{start:{line:11,column:4,offset:1004},end:{line:11,column:24,offset:1024}}}],position:{start:{line:11,column:1,offset:1001},end:{line:11,column:24,offset:1024}},value:"Configuration on iOS"}],unstable_flexsearch:{codeblock:!1}};globalThis.__nextra_internal__={pageMap:m.pageMap,route:m.route};n.default=(0,l.ZP)("/advanced/socks",(function(e){return(0,s.jsx)(i.SSGContext.Provider,{value:e,children:(0,s.jsx)(h,{})})}),(0,a.Z)({title:m.meta.title||d},m),r.Z)}},function(e){e.O(0,[295,774,888,179],(function(){return n=7550,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.