product icon

How do I set a static port for incoming traffic?

    In some circumstances, you may need to set a static TCP or UDP port for Hamachi to use when accepting connections. This is most commonly needed when you have a computer behind a router/NAT that doesn't support NAT, or its support of NAT is poor. In this case, you would need to set up a static port forward on the router/NAT, and then fix a static port in Hamachi.

    For Port Forwarding, (please note that every device is different) very detailed info per device can be found on If you are setting up port forwards, it is easiest to set them up for both TCP and UDP protocols, and to keep them the same number.

    Hamachi Configuration for Windows

    1. On the Hamachi client, click System > Preferences > Settings.
    2. If you are in the Basic Settings view, click the Advanced Settings link at the bottom.
    3. Scroll down to the Peer Connections section, and enter the port values you set up in your port forward settings of the router/NAT in the Local TCP Address and Local UDP Address.
    4. You do not need to enter an IP Address, just the port number into the short box (See note below).
    5. Restart Hamachi.
    Important: You do need to enter an IP Address if you have more than one active Internet connection. Enter the IP Address of the local adapter you wish Hamachi to connect through.
    Article last updated: 27 September, 2022