Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Server won't let traffic in

  1. #1
    Join Date
    Apr 2013
    Beans
    40

    Server won't let traffic in

    I'm having trouble with my server as it won't let any outside traffic in. I did port forwarding on my router I added the default gatewat as 192.168.1.1 and netmask as 255.255.255.0 nmap says some ports are closed but on the server says ALLOW ANYWHERE.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Server won't let traffic in

    Run this please:

    Code:
    sudo iptables -L
    Code:
    sudo netstat -nlpu
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Server won't let traffic in

    Can you post the output of:
    Code:
    sudo iptables -L -v -n
    sudo netstat -plunt
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  4. #4
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,699

    Re: Server won't let traffic in

    We need lots more information to be able to help.

    What traffic are you trying to send to the server - what protocol?

    What makes you say it "won't let traffic in"? How do you try to send traffic in, and what happens?

    Please try these two commands and post the output:
    Code:
    netstat -lntu
    sudo iptables-save -c
    EDIT: Ooh, looks like I'm late to the party. Got distracted while answering.

  5. #5
    Join Date
    Apr 2013
    Beans
    40

    Re: Server won't let traffic in

    SSH, HTTP,HTTPS,FTP, MySQL those protocols. I'm using a service like DynDNS because my ISP won't give me a static IP address my cousin says the page won't load

  6. #6
    Join Date
    Apr 2013
    Beans
    40

    Re: Server won't let traffic in

    the link is http://oscar080483.no-ip.biz he says it won't load but when I ping it it gives me replies I'm not sure if it's because I'm on the internal network or what it is

  7. #7
    Join Date
    Apr 2013
    Beans
    40

    Re: Server won't let traffic in

    there's nothing on the link other than the default apache server page.

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Server won't let traffic in

    That doesn't really tell us anything about the server itself.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Server won't let traffic in

    Your cousin is right, it doesn't open.
    Give us the results of the iptables and netstat commands posted earlier. That will help with more info.

    Another reason is that the ISP might be blocking port 80 to prevent people running web servers at home. Did you verify it doesn't block it?
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  10. #10
    Join Date
    Apr 2013
    Beans
    40

    Re: Server won't let traffic in

    here's some output

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •