Can't access Web Server from LAN Tower Server[SOLVED]

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2
Author Message
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Fri May 22, 2020 23:15    Post subject: Reply with quote
Hi

So, DMZ went into the box, with the IP specified; what should I expect to have changed and what should I be expecting to have to do with the router behind the router with the DMZ setting?

Only looking for web server support? Should I allocate more than 3 hours to getting this done; I plan to be in operation with this by Monday. I have plenty of time though, Monday is a holiday here.

Screenshot shows a router with 192.168.2.7 entered into it, click if necessary.

All the best.
Sponsor
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Sun May 24, 2020 9:07    Post subject: Reply with quote
Hi again guys - listen I came back to this bewildered, my DMZ setting is for the WAN IP of the router in front of the ISP router and everything else suggested I have done, including upgrading the firmware - still no joy.

The weird thing is SSH access works just fine (I can connect to the tower server via the IP address given on the LAN page) so I turned off the firewall (with no change) and tried disabling and re-enabling the port range forwarding, again with no luck.

I figure it must be because of a firewall or access restriction I am not aware of. Hope someone can help.
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Mon May 25, 2020 13:02    Post subject: Reply with quote
Hi guys

So I can access SSH but not HTTPD. What is going on?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6154
Location: Netherlands

PostPosted: Mon May 25, 2020 13:13    Post subject: Reply with quote
SSH is using port 22, HTTP port 80 or 443 for HTTPS

What exactly do you mean by SSH access what are you doing (which program) from where (client PC?) to what IP address?

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Mon May 25, 2020 13:20    Post subject: Reply with quote
I can run in Terminal (I use OS X) ssh -p 22 root@192.168.1.31 but visiting http://192.168.1.31 doesn’t work

I’ve done basic check after check nothing works
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6154
Location: Netherlands

PostPosted: Mon May 25, 2020 13:31    Post subject: Reply with quote
192.168.1.31 must run an sshd server and have the firewall configured to accept connections on port 22
_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Mon May 25, 2020 13:46    Post subject: Reply with quote
It is, just a standard CentOS install

Server reports HTTPD being operational and accepts port 80/443

Not sure what it could be. I use this server a lot.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6154
Location: Netherlands

PostPosted: Mon May 25, 2020 13:50    Post subject: Reply with quote
Yes but you were asking about SSH, if you want to contact the server via SSH then SSHD should be running and port 22 open

that has nothing to do with HTTPD

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Mon May 25, 2020 14:06    Post subject: Reply with quote
No, I meant to ask why SSH works and HTTPD doesn’t.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6154
Location: Netherlands

PostPosted: Mon May 25, 2020 14:28    Post subject: Reply with quote
Ah ok, well assuming you are trying to open the webpage from the same OSX client and it is not working then check if the webserver is running and ports are opened.

I personally do not use CentOS only Ubuntu and Kali so cannot help you with making a webserver run on CentOS

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Mon May 25, 2020 15:11    Post subject: Reply with quote
@ecg

My web server is running via a fully operational DirectAdmin interface with ports opened by CSF Firewall. It should work, but the router is interfering. Stuck here.
youdsmedia
DD-WRT Novice


Joined: 14 May 2020
Posts: 34

PostPosted: Tue May 26, 2020 9:56    Post subject: Reply with quote
This is crazy. I can access DirectAdmin on port 2222 but I can't access the web server on port 80. Changing to port 8080 fixed my issue.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum