Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NAT support. #270

Merged
merged 28 commits into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8e4d9d9
Add CLI option to disable built-in slashing protection for external …
bgravenorst Nov 16, 2020
a0b849c
Fix merge issues.
bgravenorst Nov 17, 2020
d203be4
Merge remote-tracking branch 'upstream/master'
bgravenorst Nov 17, 2020
97810b5
Fix local branch.
bgravenorst Nov 23, 2020
b521e75
Add instructions to connect to mainnet.
bgravenorst Nov 23, 2020
182787d
updating submodule to latest
bgravenorst Nov 24, 2020
4697460
Add instructions to connect to mainnet.
bgravenorst Nov 25, 2020
8d136f9
Fix markdown issue.
bgravenorst Nov 25, 2020
1d9d476
Merge branch 'TEKU-194' of https://github.com/bgravenorst/doc.teku in…
bgravenorst Nov 25, 2020
f6bfee8
Merge branch 'bgravenorst-TEKU-194'
bgravenorst Nov 25, 2020
15d5698
Merge remote-tracking branch 'upstream/master'
bgravenorst Nov 25, 2020
ffca968
Merge remote-tracking branch 'upstream/master'
bgravenorst Dec 2, 2020
17c1269
Merge remote-tracking branch 'upstream/master'
bgravenorst Dec 7, 2020
6f4dc33
Merge remote-tracking branch 'upstream/master'
bgravenorst Dec 7, 2020
b3bdefd
Merge remote-tracking branch 'upstream/master'
bgravenorst Dec 9, 2020
183e65b
Merge remote-tracking branch 'upstream/master'
bgravenorst Dec 16, 2020
6c3ba41
Merge remote-tracking branch 'upstream/master'
bgravenorst Jan 2, 2021
bdbaaf2
Merge remote-tracking branch 'upstream/master'
bgravenorst Jan 12, 2021
0e59339
Merge remote-tracking branch 'upstream/master'
bgravenorst Feb 2, 2021
ba4e274
Merge remote-tracking branch 'upstream/master'
bgravenorst Feb 3, 2021
8af80b4
Merge remote-tracking branch 'upstream/master'
bgravenorst Feb 5, 2021
2b3af99
Merge remote-tracking branch 'upstream/master'
bgravenorst Feb 25, 2021
764790a
Merge remote-tracking branch 'upstream/master'
bgravenorst Mar 22, 2021
42ce108
Merge remote-tracking branch 'upstream/master'
bgravenorst Mar 30, 2021
c9fefa4
Merge remote-tracking branch 'upstream/master'
bgravenorst Apr 14, 2021
811db12
Add UPnP support.
bgravenorst Apr 15, 2021
04ad651
Fix markdown.
bgravenorst Apr 15, 2021
2fc4ee2
Address tech review feedback.
bgravenorst Apr 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions docs/HowTo/Find-and-Connect/Specifying-NAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,10 @@ device.
UPnP support is often disabled by default in networking firmware. If disabled by default, you
must explicitly enable UPnP support.

!!! important

When the NAT method is set to `UPNP`, the advertised port is the same as the
[listening port](../../Reference/CLI/CLI-Syntax.md#p2p-port).

## None

Specify `NONE` to explicitly configure the external IP address and ports advertised using
[`--p2p-host`](../../Reference/CLI/CLI-Syntax.md#p2p-host) and
[`--p2p-port`](../../Reference/CLI/CLI-Syntax.md#p2p-port) for the P2P service.

rolfyone marked this conversation as resolved.
Show resolved Hide resolved
!!! important
[`--p2p-advertised-ip`](../../Reference/CLI/CLI-Syntax.md#p2p-advertised-ip) and
[`--p2p-advertised-port`](../../Reference/CLI/CLI-Syntax.md#p2p-advertised-port) for the P2P service.

When the NAT method is set to `NONE`, the advertised port is the same as the
[listening port](../../Reference/CLI/CLI-Syntax.md#p2p-port). Manual configuration of your
firewall may be required to allow external hosts to create inbound connections to Teku.
Manually configure your firewall to allow external hosts to create inbound connections to Teku.
6 changes: 5 additions & 1 deletion docs/Reference/CLI/CLI-Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,11 @@ List of comma-separated Ethereum Node Records (ENRs) for P2P discovery bootstrap
p2p-advertised-port: 1789
```

The advertised P2P port. The default is the port specified in [`--p2p-port`](#p2p-port)
The advertised P2P port. The default is the port specified in [`--p2p-port`](#p2p-port).

The advertised port can differ from the [`--p2p-port`](#p2p-port). For example, you can set the
advertised port to 9010, and the `--p2p-port` value to 9009, then manually configure the firewall to
forward external incoming requests on port 9010 to port 9009 on the Teku node.

### p2p-private-key-file

Expand Down