admin/internet: double-nat now links wiki
Massimo Melina committed
Oct 27, 2024 at 17:55 UTC
39ae97ffdf0f26413c104cb8e19052e486e7771f
1 file changed
+2
-2
admin/src/InternetPage.ts
+2
-2
@@ -5,7 +5,7 @@ import { CardMembership, Check, Dns, HomeWorkTwoTone, Lock, Public, PublicTwoTon
5
import { apiCall, useApiEvents, useApiEx } from './api'
6
import { closeDialog, DAY, formatTimestamp, wait, wantArray, with_, PORT_DISABLED, isIP, CFG, md,
7
useRequestRender, replace, restartAnimation, prefix } from './misc'
8
-import { Flex, LinkBtn, Btn, Country } from './mui'
8
+import { Flex, LinkBtn, Btn, Country, wikiLink } from './mui'
9
import { alertDialog, confirmDialog, formDialog, promptDialog, toast, waitDialog } from './dialog'
10
import { BoolField, Form, MultiSelectField, NumberField, SelectField } from '@hfs/mui-grid-form'
11
import { suggestMakingCert } from './OptionsPage'
@@ -23,7 +23,7 @@ const COUNTRIES = ALL.filter(x => WITH_IP.includes(x.code))
23
24
const PORT_FORWARD_URL = 'https://portforward.com/'
25
const HIGHER_PORT = 1080
26
-const MSG_ISP = `It's possible that don't have a public IP, so that HFS won't be reachable on the Internet. Ask your Internet Provider if they sell "public IP" as an extra service.`
26
+const MSG_ISP = h('div', {}, "HFS will probably not be reachable on the Internet. ", wikiLink('Work-on-the-internet#double-nat', "Read more"))
27
28
export default function InternetPage() {
29
const [checkResult, setCheckResult] = useState<boolean | undefined>()