MACTELNET(1)

NAME
mactelnet - Tool for remote Telnet or SSH connections to MAC-address

SYNOPSIS
mactelnet [options] <MAC-Address|hostname>

DESCRIPTION
This tool enables you to telnet other RouterOS or MAC-Telnetd enabled devices. You can connect to either a hostname or a MAC address. If specified, the hostname (identity) will be looked up via MNDP discovery.

The client supports three modes of operation:

•   Standard MAC-Telnet Client Mode

•   TCP Connection Forwarding Mode: Tunnels a specific local port on the client to the serverthrough MAC-Telnet protocol. (-F option)

•   SSH Forwarding Mode: Apart from setting up the tunnel, the client takes care of launching the SSH client. (-S option)

OPTIONS
These programs follow the usual GNU command line syntax. A summary of options is included below.

-l  This will discover RouterOS or MAC-Telnetd enabled devices. It will list the MAC-address software version, and uptime of every device or machine it discovers. To exit the discovery, use Control + C .

-n  Do not use broadcast packets. A tad less insecure but requires root privileges. This means that ethernet packets will have the specified mac-address as the packet destination, instead of using the ethernet broadcast address.

-t timeout
    Amount of seconds to wait for a response on each interface. If you have several network interfaces, this is the timeout value per interface.

-u username
    Specify username. Without this option, you will need to enter the username in a interactive prompt.

-p password
    Specify password. Without this option, you will need to enter the password in a interactive prompt.

-U username
    Drop privileges by switching to user with username. Can be used when the command is run as a privileged user in conjunction with the -n option.

-S  Use MAC-SSH instead of MAC-Telnet. Forwards SSH connection through MAC-Telnet and launch SSH client. (Implies -F)

-F  Forward connection through of MAC-Telnet without launching the SSH Client.

-P port
    Local TCP port for forwarding SSH connection. (If not specified, port 2222 by default.

-c path
    Path for ssh client executable. (Default: /usr/bin/ssh)

-q  Quiet mode.

-h  Show summary of options.

-v  Show version of program.

SEE ALSO
mndp(1), mactelnetd(1), macping(1).

AUTHOR
mactelnet was written by Håkon Nessjøen <haakon.nessjoen@gmail.com>.

This manual page was written by Håkon Nessjøen <haakon.nessjoen@gmail.com>, for the Debian project (and may be used by others).

The connection forwarding and ssh forwarding functionality was implemented by Ali Onur Uyar <aouyar@gmail.com>.