Changes
Page history
Update 4. Port Forwarding
authored
Apr 03, 2025
by
John Goerzen
Hide whitespace changes
Inline
Side-by-side
setup/04-port-forwarding.md
View page @
42918d6f
---
title
:
4. Port Forwarding
---
# Port Forwarding
**This is an optional step, but required if you want to use Thunderbird.**
...
...
@@ -9,7 +10,38 @@ There are a number of ways you can access the mail within your NNCPNET node. Pe
Edit your run.sh and add a new line right after the
`docker run`
line, like so:
`-p 127.0.0.1:20025:25 -p 127.0.0.1:20143:14
2
\`
`-p 127.0.0.1:20025:25 -p 127.0.0.1:20143:14
3
\`
Now rerun `
./run.sh
`.
At this point, from your host system, you should be able to do something like this:
```
$ telnet localhost 20025
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 examplenode.nncpnet.org ESMTP Exim 4.96 Thu, 03 Apr 2025 00:51:53 +0000
```
and
```
$ telnet localhost 20143
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS LOGINDISABLED] Dovecot (Debian) ready.
``
`
OK, IMAP and SMTP are working.
Note that IMAP is authenticated, but SMTP -- barring additional configuration -- is not.
# Next
Proceed to
[
Thunderbird
](
setup/05-thunderbird
)
.
\ No newline at end of file