You need to do port forwarding on your router from the public ip port 80 to the 
internal (server) ip port 80. Also, configure your router to always give the 
same ip (static ip) to your server.

This way all the requests coming from outside on port 80 are forwarded to 
internal server ip on port 80, the server response are going to normally be 
routed to the source request, but you just need the outside traffic to be 
routed the the server ip. So, search on your router configuration  for port 
forwarding. That’s all you need to do, nothing on the apache, just standard 
configuration.

Apologies for brevity and/or typos. An iPhone was involved in writing this 
message.

On 4 Jul 2019, at 21:52, Richard szajkowski 
<[email protected]<mailto:[email protected]>> wrote:

Yes , has to be set to static  make sure your IP is out side the DCHP pool , 
that way it won’t be given to any one else by mistake .

That’s why I start my DHCP pool at .100

Richard Szajkowski

On Jul 4, 2019, at 2:12 PM, Padmahas Bn 
<[email protected]<mailto:[email protected]>> wrote:

Hello VA3RZS,

Yes, my internal IP address is static. It's 192.168.0.106. But DHCP is set to 
"Automatic". Does that affect?

Thank you.

On Thu, Jul 4, 2019 at 11:27 PM VA3RZS 
<[email protected]<mailto:[email protected]>> wrote:
It’s your inside address that needs to be static , yes the router will just be 
fine

Your box will need to be on something like 192.168.1( or 0) .50 let’s say and 
in the router that ip and port should point to that ip and port

I have all my static ip’s under 100 and dhcp is above 100

Hope this helps

Richard Szajkowski


On Jul 4, 2019, at 1:45 PM, Padmahas Bn 
<[email protected]<mailto:[email protected]>> wrote:

Hello Bob, Richar and Mark,
Thank you for your response.

@Bob Cochran,
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<http://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.

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)

@Richard szajkowski,
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.

@Mark J Bradakis,
Thank you for the reference. I'll take a look.

Thank you.

On Thu, Jul 4, 2019 at 6:16 PM Mark J Bradakis 
<[email protected]<mailto:[email protected]>> 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: 
[email protected]<mailto:[email protected]>
For additional commands, e-mail: 
[email protected]<mailto:[email protected]>

Reply via email to