Skip to content

Commit 6f378fd

Browse files
authored
Merge pull request #557 from gleb498/add-nat-section
Add port forwarding section (run node over the NAT)
2 parents 54cb280 + a2715d3 commit 6f378fd

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

docs/participate/nodes/node-types.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ The TON Foundation provides several public Liteservers, integrated into the glob
4545
- [Public Liteserver Configurations - mainnet](https://ton.org/global-config.json)
4646
- [Public Liteserver Configurations - testnet](https://ton.org/testnet-global.config.json)
4747

48-
Use the downloaded `config.json` file in your application with TON SDK.
49-
50-
[Choose a TON SDK](/develop/dapps/apis/sdk)
51-
48+
Use the downloaded `config.json` file in your application with [TON SDK](/participate/nodes/node-types#lite-clients-the-sdks-to-interact-with-ton).
5249

5350
#### Troubleshooting
5451

@@ -64,10 +61,7 @@ wget https://api.tontech.io/ton/wallet-mainnet.autoconf.json -O /usr/bin/ton/glo
6461

6562
It removes slow liteservers from the configuration file.
6663

67-
2. Use the downloaded config.json file in your application with TON SDK.
68-
69-
[Choose a TON SDK](/develop/dapps/apis/sdk)
70-
64+
2. Use the downloaded config.json file in your application with [TON SDK](/participate/nodes/node-types#lite-clients-the-sdks-to-interact-with-ton).
7165

7266

7367
### Running a Full Node as a Liteserver

docs/participate/run-nodes/archive-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
For running nodes basic knowledge of Linux/Ubuntu system administration is required.
77
:::
88

9-
An Archive Node is a type of Full Node that stores extended historical data of a blockchain. If you are creating a blockchain explorer or a similar application that requires access to historical data, using an Archive Node as an indexer is recommended.
9+
An Archive Node is a type of [Full Node](/participate/run-nodes/full-node) that stores extended historical data of a blockchain. If you are creating a blockchain explorer or a similar application that requires access to historical data, using an Archive Node as an indexer is recommended.
1010

1111
## Prerequisites
1212

docs/participate/run-nodes/full-node.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ You need a machine with a **fixed IP address** and a **high-bandwidth network co
3939

4040
Typically you'll need a sufficiently powerful server in a data center with good network connectivity, using at least a 1 Gbit/s connection to reliably accommodate peak loads (the average load is expected to be approximately 100 Mbit/s).
4141

42+
### Port Forwarding
43+
44+
All types of nodes require a static external IP address, one UDP port to be forwarded for incoming connections and all outgoing connections to be open - the node uses random ports for new outgoing connections. It's necessarily for the node to be visible to the outside world over the NAT.
45+
46+
It can be done with your network provider or [rent a server](/participate/run-nodes/full-node#recommended-providers) to run a node.
47+
48+
:::info
49+
It's possible to find out which UDP port is opened from the `netstat -tulpn` command.
50+
:::
51+
4252
### Recommended Providers
4353

4454
The TON Foundation recommends the following providers for running a Validator:
@@ -607,7 +617,7 @@ This error means that contract didn't accepted external message. You need to fin
607617
Sometimes, this process can take up to 24 hours. However, if you've been receiving this error for several days, that means that your node cannot synchronize via a current network connection.
608618

609619
:::tip Solution
610-
You need to check the firewall settings, including any NAT settings if they exist.
620+
You need to check the firewall settings, including any [NAT](/participate/run-nodes/full-node#port-forwarding) settings if they exist.
611621

612622
It should allow incoming connections on one specific port and outgoing connections from any port.
613623
:::

0 commit comments

Comments
 (0)