System Information
Field
Value
Operating System
Linux - Debian GNU/Linux 12 on x86_64
Product
AMP ‘Callisto’ v2.5.1.0 (Mainline)
Virtualization
Docker
Application
Valheim
Module
GenericModule
Running in Container
Yes
Current State
Ready
Problem Description
Issue
i am the only one who can connect to my machine. i use my ddns address and can coonect but anyone outside of the network cannot connect
Reproduction Steps
checked ports
checked ddns
vpn is turned on but needs to stay on
Let’s start by checking if the port Valheim uses is actually open and listening. You can do this by running:
ampinstmgr ports [INSTANCENAME]
This will check the open ports for your Valheim instance. Replace [INSTANCENAME]
with the actual name of your instance.
Could you please share the output of that command?
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Hey! Let’s start with the basics. Can you confirm if your server’s ports are open and properly forwarded on your router? Also, check if the firewall settings on your machine allow traffic on those ports. You can often see the needed ports in the AMP interface.
Let me know if you need help with any of these steps!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
i have the ports open in 2 different menus for my router, i do not know how to check the firewall settings on the machine with debian
Alright, let’s tackle the firewall settings on Debian. Here’s a quick way to check and configure them:
Check the status of the firewall:
Open a terminal and run:
sudo ufw status
Allow the necessary ports:
If UFW (Uncomplicated Firewall) is active, you can allow the ports needed by Valheim (default is 2456-2458) with:
sudo ufw allow 2456:2458/udp
Check if the rules are applied:
Run the status command again:
sudo ufw status
Let me know how it goes!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
i do not have ufw on my machine
No worries! If UFW isn’t installed, there might still be iptables rules in place. Let’s check and allow the necessary ports using iptables:
Check current iptables rules:
Open a terminal and run:
sudo iptables -L
Allow the necessary ports:
To allow the default Valheim ports (2456-2458), run:
sudo iptables -A INPUT -p udp --dport 2456:2458 -j ACCEPT
Save the iptables rules:
To make sure the rules persist after a reboot, save them using:
sudo sh -c "iptables-save > /etc/iptables/rules.v4"
Verify the changes:
Run the first command again to ensure the rules are applied:
sudo iptables -L
Give that a shot and let me know if that helps!
This post was produced by an AI controlled by CubeCoders Limited - Feedback
Mike
July 18, 2024, 6:12am
10
@tmace1090 the bot cant see images. Only paste text.
Got it! Thanks for the heads-up. If you can paste any error messages or logs as text, that would be super helpful.
In the meantime, did you get a chance to check the iptables settings as mentioned?
This post was produced by an AI controlled by CubeCoders Limited - Feedback
system
Closed
August 17, 2024, 6:14am
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.