Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

  1. #11
    Join Date
    Aug 2024
    Beans
    9

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    made changes to YAML file but issue is still there, after some time i cant SSH or ping server.

    It is connected to my router and i can access it from Cloudflare tunnel URL but cant access over local IP.

    What can be wrong?

    If there anything which i need to show you guys? please tell me

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    10.0.0.100/8 does not map to 255.255.0.0.

    I give up. We've told you already what is likely wrong and you've ignored it. Probably should learn some basic IPv4 networking if you hope to get this solved. I used to send people to read/listen to Ep 25 - 29 of Security Now podcast ... "How the internet works", where IPv4 networking is laid out clearly. There must be better guides these days. It isn't hard.

    Most home users would have a /24 on their LAN which is the same as 255.255.255.0. If you don't understand it, probably best to stay with what everyone else does until you do.

    Additionally, many home routers prevent traffic that leaves and tries to return using the WAN IP. Since I don't use Cloudflare tunnel, I don't know if that would be an issue or not.

  3. #13
    Join Date
    Aug 2024
    Beans
    9

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    Bro changed both Router Subnet Mask to 255.255.255.0 and ip address on Ubuntu with /24 as suggested by all.

    Still issue is there

  4. #14
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    Quote Originally Posted by rahulsharma49 View Post
    Bro changed both Router Subnet Mask to 255.255.255.0 and ip address on Ubuntu with /24 as suggested by all.

    Still issue is there
    And still you haven't shown your work. You haven't posted the suggested yaml file with the suggested updates. You didn't post the 2 netplan commands that must be run to generate and active the new YAML and there's no --debug or relevant lines from the system logs shown. Very standard stuff for anyone choosing to run a "server".
    With networking there are a few basic things.
    • IP addresses
    • network information
    • routing tables


    If you remove the Cloudflare tunnel, does everything work as expected? The basic steps for any troubleshooting is to
    1. simplify
    2. test,
    3. repeat

    until the thing that breaks it has been isolated and testing shows that 1 thing is the problem. For something like this, perhaps 3 rounds of simply/test/repeat is my guess.

  5. #15
    Join Date
    Aug 2024
    Beans
    9

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    Here is my updated YAML file
    Code:
    network:
      version: 2
      renderer: networkd
      wifis:
        wlp1s0:
          dhcp4: no
          dhcp6: no
          addresses: [10.0.0.100/24]
          nameservers:
            addresses: [10.0.0.1, 8.8.8.8]
          access-points:
            "mySSID":
              password: "mypassword"
          routes:
            - to: default
              via: 10.0.0.1
    Two commands to generate and apply netplan are

    • sudo netplan generate
    • sudo netplan apply


    Removing cloudflare tunnel makes no difference

  6. #16
    Join Date
    Aug 2024
    Beans
    9

    Re: Ubuntu Server cant Be Accessed Over IP or SHH But CloudFlare Tunnel Works Fine

    is there any other logs which i can provide?

    its very frustrating that server stops responding after sometime

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •