Firewall and local IP

Discussion in 'Installation/Configuration' started by francoisPE, Jan 22, 2023 at 11:52 AM.

  1. francoisPE

    francoisPE Active Member HowtoForge Supporter

    Hello,

    I have a mutliserver conf
    I set a local network with wireguard (discussed on that forum)
    I don't understand why I can't connect a port through local network

    I want to connect serv2, port 5349.
    On serv2
    Code:
    ufw status verbose | grep 5349
    5349/tcp                   ALLOW IN    Anywhere
    5349/udp                   ALLOW IN    Anywhere
    5349/tcp (v6)              ALLOW IN    Anywhere (v6)
    5349/udp (v6)              ALLOW IN    Anywhere (v6)
    
    form serv1
    with external IP : telnet <external IP> 5349 gives connected
    with local IP (wireguard) : telnet <internal IP> 5349 gives connexion refused

    I don't understand what happens
     
  2. pyte

    pyte Active Member HowtoForge Supporter

    Does your STUN Server listen on all network interfaces? Be aware that wireguard creates it's own network interface.
     
  3. francoisPE

    francoisPE Active Member HowtoForge Supporter

    That's obvious !
    in turnserver.conf, I changed listening_ip=<my external ip> to listening_ip=0.0.0.0
    Thanks a lot :):):)
     
    till and pyte like this.

Share This Page