Re: Expose my server to internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/4/19 1:45 PM, Padmahas Bn wrote:
Hello Bob, Richar and Mark,
Thank you for your response.

Yeah, I can access port 80 form my local but not from internet. I'm trying to access my IP from mobile network (Not wifi, from data pack) Please find my comments below.
I'm not sure what you mean by "successfully logged in" into your router.
As I said, I've registered a free domain name on NoIP.com, I had to configure dynamic DNS in my router to synchronize my external/public IP (since it is dynamic in nature) with my registered domain name automatically. So i meant that configuration was successful.

Your router will need to support NAT to translate your local IP address
to the one on the Internet.
I'm using TP-Link 300M Wireless N Router, Model No. TL-WR841N / TL-WR841ND.
I hope this supports NAT.

It sounds like you need to open a port on your router to forward port 80 to your apache server.  Be careful about which ports you open and realize that once you do, others will discover it.  On the outside, you don't have to open 80.  It might be helpful to pick a high, obscure port number to avoid bots that scan ports searching for ways to gain entry into private networks. 


sudo tcpdump -i enp2s0 -vvvSXn port 80
I'm not sure which parameters I need to change here according to my system. I just ran the same command and got output as
tcpdump: enp2s0: No such device exists
(SIOCGIFHWADDR: No such device)

enp2s0 is the name of my Ethernet  network interface.  I can discover it by running ifconfig.

It seems that you're somewhat new to networking.  I recommend that you install Wireshark on your Ubuntu machine and read some tutorials about it. 


 
It's my home network, and have dynamic IP address. But I've updated the IP address which I got from google search "what is my ip",  while forwarding the port.


On Thu, Jul 4, 2019 at 6:16 PM Mark J Bradakis <mark@xxxxxxxxxxxx> wrote:
Some of the tools here might assist in tracking down what is visible to
the world and what is not.

https://tools.dnsstuff.com/#

mjb.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux