[{"data":1,"prerenderedAt":658},["ShallowReactive",2],{"docs-slug-navigation":3},[4,69,366],{"id":5,"title":6,"body":7,"createdAt":59,"description":60,"extension":61,"faq":59,"meta":62,"navigation":64,"path":65,"seo":66,"stem":67,"updatedAt":59,"__hash__":68},"docs\u002Fdocs\u002F1.getting-started.md","GetPublicIP - Getting Started",{"type":8,"value":9,"toc":53},"minimark",[10,15,19,24,27,30,34,37,47,50],[11,12,14],"h1",{"id":13},"getting-started","Getting Started",[16,17,18],"p",{},"Get Public IP makes it easy to get a public IP address any where you need it. This makes it easy to host your own chat servers, self hosted email server or host and serve any service out to the internet.",[20,21,23],"h2",{"id":22},"typical-use-cases","Typical Use Cases:",[16,25,26],{},"Getting public connectivity into a home or office server environment can be difficult. Your ISP will need to provision a static IP address and your router will need to be configured. IP addresses from ISP are also flagged and will have a lower reputation automatically with the rest of the internet. If you need to move house or change ISP then you will also need to change your IP address and all its related configuration.",[16,28,29],{},"Get Public IP provides you an IP address you can take anywhere. Your home or office internet can fail over to 4G or 5G without interrupting public connectivity to your server. We provide a firewall facility and a UI to manage which ports you want to be forwarded through.",[20,31,33],{"id":32},"how-it-works","How it works:",[16,35,36],{},"We use a Wireguard VPN tunnel to connect your server to our infrastructure. Once the connection is up you will then see public packets comes through the Wireguard interface. The packets will have the public source IP of the remote connection. We do not terminate SSL \u002F TLS connections. This means 2 things:",[38,39,40,44],"ol",{},[41,42,43],"li",{},"You will need to configure SSL \u002F TLS yourself and use your own certificates.",[41,45,46],{},"The connection between the remote client and your server is fully encrypted, we will not be able to see the traffic.",[16,48,49],{},"Ports can be opened and mapped via our interface for your IP address.",[16,51,52],{},"The use of a VPN tunnel enables your public IP traffic to be delivered anywhere, as long as you can connect to our servers your server will have public connectivity. This means that you can change the location, ISP or connection type of your home or office server without interruption.",{"title":54,"searchDepth":55,"depth":55,"links":56},"",2,[57,58],{"id":22,"depth":55,"text":23},{"id":32,"depth":55,"text":33},null,"Learn more about getting a public IP address and get started with using our service. We support both Linux and Windows","md",{"icon":63},"mdi-file-document-outline",{"title":14,"icon":63},"\u002Fdocs\u002Fgetting-started",{"title":6,"description":60},"docs\u002F1.getting-started","wdriAz9O12l2i8HUQtlrrTNeixpL6mb7rHxYzb6XBmA",{"id":70,"title":71,"body":72,"createdAt":59,"description":358,"extension":61,"faq":59,"meta":359,"navigation":360,"path":362,"seo":363,"stem":364,"updatedAt":59,"__hash__":365},"docs\u002Fdocs\u002F2.linux.md","GetPublicIP - Setting up on Linux",{"type":8,"value":73,"toc":354},[74,78,96,99,238,244,247,346,350],[11,75,77],{"id":76},"linux","Linux",[38,79,80,89],{},[41,81,82],{},[83,84,88],"a",{"className":85,"href":87},[86],"link","#debian-12--13","Debian 12 \u002F 13",[41,90,91],{},[83,92,95],{"className":93,"href":94},[86],"#redhat-enterprise-linux-10","Redhat Enterprise Linux 10",[20,97,88],{"id":98},"debian-12-13",[38,100,101,136,152,171,188,204,230],{},[41,102,103,104,108,109],{},"First install ",[105,106,107],"code",{},"wireguard"," on your server, as root run the following commands:",[110,111,115],"pre",{"className":112,"code":113,"language":114,"meta":54,"style":54},"language-bash shiki shiki-themes monokai","apt install wireguard resolvconf\n","bash",[105,116,117],{"__ignoreMap":54},[118,119,122,126,130,133],"span",{"class":120,"line":121},"line",1,[118,123,125],{"class":124},"sHkqI","apt",[118,127,129],{"class":128},"s_Ekj"," install",[118,131,132],{"class":128}," wireguard",[118,134,135],{"class":128}," resolvconf\n",[41,137,138,139,142,143],{},"Download the Linux configuration from your IP address. Copy the ",[105,140,141],{},"pi0.conf"," to:",[110,144,146],{"className":112,"code":145,"language":114,"meta":54,"style":54},"\u002Fetc\u002Fwireguard\u002F\n",[105,147,148],{"__ignoreMap":54},[118,149,150],{"class":120,"line":121},[118,151,145],{"class":124},[41,153,154,155],{},"Start the service:",[110,156,158],{"className":112,"code":157,"language":114,"meta":54,"style":54},"systemctl start wg-quick@pi0\n",[105,159,160],{"__ignoreMap":54},[118,161,162,165,168],{"class":120,"line":121},[118,163,164],{"class":124},"systemctl",[118,166,167],{"class":128}," start",[118,169,170],{"class":128}," wg-quick@pi0\n",[41,172,173,174],{},"If you want to start the service on boot then:",[110,175,177],{"className":112,"code":176,"language":114,"meta":54,"style":54},"systemctl enable wg-quick@pi0\n",[105,178,179],{"__ignoreMap":54},[118,180,181,183,186],{"class":120,"line":121},[118,182,164],{"class":124},[118,184,185],{"class":128}," enable",[118,187,170],{"class":128},[41,189,190,191],{},"Check the Wireguard interface is up:",[110,192,194],{"className":112,"code":193,"language":114,"meta":54,"style":54},"wg show\n",[105,195,196],{"__ignoreMap":54},[118,197,198,201],{"class":120,"line":121},[118,199,200],{"class":124},"wg",[118,202,203],{"class":128}," show\n",[41,205,206,207,210,211],{},"You are now online. You can now open ports on your firewall. Use the following command to open port ",[105,208,209],{},"80",":",[110,212,214],{"className":112,"code":213,"language":114,"meta":54,"style":54},"sudo ufw allow 80\u002Ftcp\n",[105,215,216],{"__ignoreMap":54},[118,217,218,221,224,227],{"class":120,"line":121},[118,219,220],{"class":124},"sudo",[118,222,223],{"class":128}," ufw",[118,225,226],{"class":128}," allow",[118,228,229],{"class":128}," 80\u002Ftcp\n",[41,231,232,233,237],{},"(Recommended) ",[83,234,236],{"href":235},"\u002Fguides\u002Fself-hosting\u002Fwireguard-simple-watchdog-script","Install the WireGuard watchdog script"," to improve connection reliability",[16,239,240,241,243],{},"The watchdog script monitors your WireGuard connection and automatically restarts it if network conditions change (such as when your ISP changes your IP address). This prevents connection hangs and improves uptime reliability. ",[83,242,236],{"href":235}," to ensure the connection restarts when network conditions change.",[20,245,95],{"id":246},"redhat-enterprise-linux-10",[38,248,249,269,281,295,309,321,342],{},[41,250,103,251,108,254],{},[105,252,253],{},"wireguard-tools",[110,255,257],{"className":112,"code":256,"language":114,"meta":54,"style":54},"yum install wireguard-tools\n",[105,258,259],{"__ignoreMap":54},[118,260,261,264,266],{"class":120,"line":121},[118,262,263],{"class":124},"yum",[118,265,129],{"class":128},[118,267,268],{"class":128}," wireguard-tools\n",[41,270,138,271,142,273],{},[105,272,141],{},[110,274,275],{"className":112,"code":145,"language":114,"meta":54,"style":54},[105,276,277],{"__ignoreMap":54},[118,278,279],{"class":120,"line":121},[118,280,145],{"class":124},[41,282,154,283],{},[110,284,285],{"className":112,"code":157,"language":114,"meta":54,"style":54},[105,286,287],{"__ignoreMap":54},[118,288,289,291,293],{"class":120,"line":121},[118,290,164],{"class":124},[118,292,167],{"class":128},[118,294,170],{"class":128},[41,296,173,297],{},[110,298,299],{"className":112,"code":176,"language":114,"meta":54,"style":54},[105,300,301],{"__ignoreMap":54},[118,302,303,305,307],{"class":120,"line":121},[118,304,164],{"class":124},[118,306,185],{"class":128},[118,308,170],{"class":128},[41,310,190,311],{},[110,312,313],{"className":112,"code":193,"language":114,"meta":54,"style":54},[105,314,315],{"__ignoreMap":54},[118,316,317,319],{"class":120,"line":121},[118,318,200],{"class":124},[118,320,203],{"class":128},[41,322,206,323,210,325],{},[105,324,209],{},[110,326,328],{"className":112,"code":327,"language":114,"meta":54,"style":54},"firewall-cmd --zone=public --add-port=80\u002Ftcp\n",[105,329,330],{"__ignoreMap":54},[118,331,332,335,339],{"class":120,"line":121},[118,333,334],{"class":124},"firewall-cmd",[118,336,338],{"class":337},"s7s5_"," --zone=public",[118,340,341],{"class":337}," --add-port=80\u002Ftcp\n",[41,343,232,344,237],{},[83,345,236],{"href":235},[16,347,240,348,243],{},[83,349,236],{"href":235},[351,352,353],"style",{},"html pre.shiki code .sHkqI, html code.shiki .sHkqI{--shiki-default:#A6E22E}html pre.shiki code .s_Ekj, html code.shiki .s_Ekj{--shiki-default:#E6DB74}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .s7s5_, html code.shiki .s7s5_{--shiki-default:#AE81FF}",{"title":54,"searchDepth":55,"depth":55,"links":355},[356,357],{"id":98,"depth":55,"text":88},{"id":246,"depth":55,"text":95},"Follow our guides to setup your public IP address on Linux systems such as Debian, Ubuntu, Fedora.",{},{"title":77,"icon":361},"mdi-linux","\u002Fdocs\u002Flinux",{"title":71,"description":358},"docs\u002F2.linux","755guF4CavE3NnLwROfR-aVrvwqlxcq_zrCKXLlk91Q",{"id":367,"title":368,"body":369,"createdAt":59,"description":650,"extension":61,"faq":59,"meta":651,"navigation":652,"path":654,"seo":655,"stem":656,"updatedAt":59,"__hash__":657},"docs\u002Fdocs\u002F3.windows.md","GetPublicIP - Setting up on Windows",{"type":8,"value":370,"toc":645},[371,375,398,401,418,426,431,438,444,450,453,467,474,479,485,495,500,506,511,514,527,533,542,547,555,560,569,574,587,592,598,603,609,614,620,625,634,639],[11,372,374],{"id":373},"windows","Windows",[38,376,377,384,391],{},[41,378,379],{},[83,380,383],{"href":381,"className":382},"#download-and-install-wireguard",[86],"Download and install Wireguard",[41,385,386],{},[83,387,390],{"href":388,"className":389},"#configure-wireguard",[86],"Configure Wireguard",[41,392,393],{},[83,394,397],{"href":395,"className":396},"#configure-windows-firewall",[86],"Configure Windows Firewall",[20,399,383],{"id":400},"download-and-install-wireguard",[38,402,403],{},[41,404,405,406,412,413,417],{},"Download the Windows installer from the ",[83,407,411],{"className":408,"href":409,"target":410},[86],"https:\u002F\u002Fwww.wireguard.com\u002Finstall\u002F","_blank","Wireguard website"," (",[83,414,409],{"href":409,"rel":415},[416],"nofollow",")",[16,419,420],{},[421,422],"img",{"alt":423,"preload":54,"quality":209,"src":424,"width":425},"Download Wireguard Installer","\u002Fimages\u002Fwindows\u002Fstep1.png",850,[38,427,428],{"start":55},[41,429,430],{},"Run the installer",[16,432,433],{},[421,434],{"alt":435,"preload":54,"quality":209,"src":436,"width":437},"Run the Installer","\u002Fimages\u002Fwindows\u002Fstep2.png",500,[38,439,441],{"start":440},3,[41,442,443],{},"Click Yes to proceed",[16,445,446],{},[421,447],{"alt":448,"preload":54,"quality":209,"src":449,"width":437},"Allow the Installer","\u002Fimages\u002Fwindows\u002Fstep3.png",[20,451,390],{"id":452},"configure-wireguard",[38,454,455,461],{},[41,456,457,458,460],{},"Download the configuration file (",[105,459,141],{},") from your IP address",[41,462,463,464],{},"Open Wireguard and click ",[105,465,466],{},"Add Tunnel",[16,468,469],{},[421,470],{"alt":471,"preload":54,"quality":209,"src":472,"width":473},"Open Wireguard","\u002Fimages\u002Fwindows\u002Fstep4.png",600,[38,475,476],{"start":440},[41,477,478],{},"Select the configuration file you downloaded",[16,480,481],{},[421,482],{"alt":471,"preload":54,"quality":209,"src":483,"width":484},"\u002Fimages\u002Fwindows\u002Fstep5.png",700,[38,486,488],{"start":487},4,[41,489,490,491,494],{},"You will now have a new tunnel in Wireguard. Click ",[105,492,493],{},"Activate"," to start the VPN connection",[16,496,497],{},[421,498],{"alt":471,"preload":54,"quality":209,"src":499,"width":484},"\u002Fimages\u002Fwindows\u002Fstep6.png",[38,501,503],{"start":502},5,[41,504,505],{},"You are now online. Remember to enable applications through the Windows firewall",[16,507,508],{},[421,509],{"alt":471,"preload":54,"quality":209,"src":510,"width":484},"\u002Fimages\u002Fwindows\u002Fstep7.png",[20,512,397],{"id":513},"configure-windows-firewall",[38,515,516],{},[41,517,518,519,522,523,526],{},"In this example, I will open port 80 for HTTP. Open ",[105,520,521],{},"Windows Defender Firewall"," by searching for ",[105,524,525],{},"firewall"," in the start menu",[16,528,529],{},[421,530],{"alt":531,"preload":54,"quality":209,"src":532,"width":473},"Open Windows Defender Firewall","\u002Fimages\u002Fwindows\u002Ffirewall-1.png",[38,534,535],{"start":55},[41,536,537,538,541],{},"Click ",[105,539,540],{},"Advanced Settings"," in the left hand menu",[16,543,544],{},[421,545],{"alt":471,"preload":54,"quality":209,"src":546,"width":473},"\u002Fimages\u002Fwindows\u002Ffirewall-2.png",[38,548,549],{"start":440},[41,550,537,551,554],{},[105,552,553],{},"Inbound Rules"," on the left hand menu",[16,556,557],{},[421,558],{"alt":471,"preload":54,"quality":209,"src":559,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-3.png",[38,561,562],{"start":487},[41,563,564,565,568],{},"Now click ",[105,566,567],{},"New Rule..."," in the right hand menu",[16,570,571],{},[421,572],{"alt":471,"preload":54,"quality":209,"src":573,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-4.png",[38,575,576],{"start":502},[41,577,578,579,582,583,586],{},"Select ",[105,580,581],{},"Port"," to open a port. You can also choose ",[105,584,585],{},"Program"," and then select the .exe",[16,588,589],{},[421,590],{"alt":471,"preload":54,"quality":209,"src":591,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-5.png",[38,593,595],{"start":594},6,[41,596,597],{},"Select the protocol and ports to open. In this example I am opening HTTP so I will open TCP port 80 and 443",[16,599,600],{},[421,601],{"alt":471,"preload":54,"quality":209,"src":602,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-6.png",[38,604,606],{"start":605},7,[41,607,608],{},"Allow the connection",[16,610,611],{},[421,612],{"alt":471,"preload":54,"quality":209,"src":613,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-7.png",[38,615,617],{"start":616},8,[41,618,619],{},"If you are unsure what to select for profile then select all of them.",[16,621,622],{},[421,623],{"alt":471,"preload":54,"quality":209,"src":624,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-8.png",[38,626,628],{"start":627},9,[41,629,630,631],{},"Enter in a name and then click ",[105,632,633],{},"finish",[16,635,636],{},[421,637],{"alt":471,"preload":54,"quality":209,"src":638,"width":484},"\u002Fimages\u002Fwindows\u002Ffirewall-9.png",[38,640,642],{"start":641},10,[41,643,644],{},"The port will now be open on Windows, you can try and connect to it via your public IP address.",{"title":54,"searchDepth":55,"depth":55,"links":646},[647,648,649],{"id":400,"depth":55,"text":383},{"id":452,"depth":55,"text":390},{"id":513,"depth":55,"text":397},"Setup your public IP on Windows 10\u002F11 and get your services online today. Our simple guide makes it easy.",{},{"title":374,"icon":653},"mdi-microsoft-windows","\u002Fdocs\u002Fwindows",{"title":368,"description":650},"docs\u002F3.windows","8iXK20CswyI-Patr7UlXduH0hnq5h_WzHtDVdCuOCZU",1776727022132]