Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to run a coda server behind a NAT? What ports need to be forwarded for a coda server?

0 views
Skip to first unread message

Karl-Philipp Richter

unread,
Jul 11, 2016, 9:09:59 AM7/11/16
to
Hi,
How to access a coda server behind a NAT for authentication with `clog`
and file access? I figured I need to forward port 370 TCP and maybe UDP
for `auth2` according to
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers. Yet, on
the server I only see

$ sudo netstat -tupln | grep auth2
udp6 0 0 :::370 :::*
17638/auth2

`auth2` listening to IPv6 which makes the forwarding irrelevant for IPv4
with which I need to work. I don't find any configuration directives in
`venus.conf` and `server.conf` and no default version of the mentioned
`auth2.conf` file nor a manpage of the latter. Authentication with
`clog` and file access works well for a client which runs on the same
machine as the server, but not for a client connecting over the internet.

-Kalle

Jan Harkes

unread,
Jul 11, 2016, 2:27:41 PM7/11/16
to
On Mon, Jul 11, 2016 at 03:09:20PM +0200, Karl-Philipp Richter wrote:
> How to access a coda server behind a NAT for authentication with `clog`
> and file access? I figured I need to forward port 370 TCP and maybe UDP

As far as I know it should just be 370/udp for the auth2 server and
2432/udp for the Coda server.

We don't use the TCP ports, and the bulk side-effect (SFTP) which used
to be on 2433/udp is now piggybacked onto the 2432 port's traffic
because it made it very hard to impossible to correctly pass through
firewalls.

> $ sudo netstat -tupln | grep auth2
> udp6 0 0 :::370 :::*
> 17638/auth2
>
> `auth2` listening to IPv6 which makes the forwarding irrelevant for IPv4

Not really, by default Linux will forward all IPv4 traffic to the
listening IPv6 socket (controlled by /proc/sys/net/bindv6only).

> with which I need to work. I don't find any configuration directives in
> `venus.conf` and `server.conf` and no default version of the mentioned

You cannot change the ports at this point, not sure what directives you
are looking for.

> `auth2.conf` file nor a manpage of the latter. Authentication with

I don't think there ever has been an auth2.conf, it is all commandline
options.

Jan

0 new messages