Port forwarding not working for port 51820

jemme
jemme Posts: 2
edited January 20 in Internet
Hi!

I'm currently trying to forward port 51820 for Wireguard (their default port), but I've noticed that the server running it (Proxmox 8.3) is not appearing in the "Connected devices" section of the router settings. I can see all the other devices that are using wifi, but this server is wired. I did a DHCP reservation for the server with the MAC address and an IP address I'm using, but the port forwarding doesn't work.

I'm using a LXC container with a different IP than the server (with DHCP reservation using MAC address). It can be pinged by another device on the network and forwarding another port (22) works fine. So the problem seems to be the porting not working for that specific port. Here's the settings of the port (image.png).

How can I make the port forwarding work?

Best Answer

  • M T. #12340
    M T. #12340 Posts: 760 ✭✭
    edited January 16 Answer ✓

    In order to see your server in "Connected devices" section, your server network interface must define the gateway default as 192.168.0.1 ( assuming that is your Fizz router address ), regardless if it has a wireless or wired network device unless your server network interface is defined as "DHCP".

    If it's defined as DHCP then there is a possibility that you don't see it right away ( seems to be a bug ) but you should be able to ping it. Try to ping it to see. Sometimes it may take several days before it shows up in "Connected devices" section. I've seen this issue before in my environment.

Answers

  • elena code xzi4t
    elena code xzi4t Posts: 9,698 ✭✭
    edited January 15

    Did you try to use a different port? You are not oblige to use that port

    If you have a container you should be able to map to a differ port at least with docker is possible

    Are you running a Wireguard server?

This discussion has been closed.