View Full Version : Cannot access server
ubutux
28th November 2005, 17:55
I have a (E-Smith) linux firewall gateway server running on my network at present . i want to get this new server up and running and transfer my sites etc to the new server and have a seperate firewall box protecting my network .I followed the ispconfig 5.10 breezy badger instructions and The install process went ok with no errors .I cant access ispconfig using the installed ip https://192.168.2.20:81 i get access denied . when i try http://192.168.2.20 i get a directory listing not the default apache page.Any help would be greatly apreciated.
falko
28th November 2005, 18:54
Can you post the output of iptables -L on your Ubuntu server?
Does your firewall server allow requests on port 81?
ubutux
29th November 2005, 01:12
Im trying to setup and test ispconfig on a server that is on the internal network behind the firewall ,shouldnt i be able to connect directly to the server.
thanks for help
here is the output for iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
falko
29th November 2005, 01:50
Ok, the firewall on your Ubuntu system is down so that's no the problem.
Im trying to setup and test ispconfig on a server that is on the internal network behind the firewall ,shouldnt i be able to connect directly to the server.
Do you try to connect from within the same network or from outside?
ubutux
29th November 2005, 07:58
im trying to acess the ubuntu server from within the same network.
falko
29th November 2005, 10:43
Hm, I guess that either it's your desktop firewall that's blocking you, or ISPConfig didn't start on your Ubuntu server.
Try
/etc/init.d/ispconfig_server restart to start it (again).
ubutux
29th November 2005, 16:26
ispconfig was running and it restarted without error after the command.the ubuntu server connects to my internal network via a wireless nic ,which is working ok i can update the server etc using apt and i connect to the ubuntu server via ssh,so i gather this shouldnt be a problem .any other ideas that may be causing this challange i have .
cheers
falko
29th November 2005, 19:44
Do you have this problem only on one workstation or on all? Did you try to disable your firewall for a short moment on your workstation in order to connect to port 81?
ubutux
30th November 2005, 18:12
im having the same problem from all workstations ,i tried after shutting down the personal firewalls as well ,still access denied .Any other ideas?
thanks
falko
30th November 2005, 19:04
Please post the output of netstat -tap
ubutux
1st December 2005, 06:25
here is the output for netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 localhost.localdo:mysql *:* LISTEN 6
412/mysqld
tcp 0 0 *:81 *:* LISTEN 6
610/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 6
771/named
tcp 0 0 localhost.locald:domain *:* LISTEN 6
771/named
tcp 0 0 localhost.localdoma:953 *:* LISTEN 6
771/named
tcp 0 0 *:smtp *:* LISTEN 6
741/master
tcp 0 0 localhost.localdoma:953 localhost.localdo:39170 TIME_WAIT -
tcp6 0 0 *:imaps *:* LISTEN 6
322/couriertcpd
tcp6 0 0 *: pop3s *:* LISTEN 6
357/couriertcpd
tcp6 0 0 *: pop3 *:* LISTEN 6
337/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 6
297/couriertcpd
tcp6 0 0 *:www *:* LISTEN 6
646/apache2
tcp6 0 0 *:ssh *:* LISTEN 6
550/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 6
771/named
tcp6 0 0 *:https *:* LISTEN 6
646/apache2
falko
1st December 2005, 11:03
Hm, looks ok.
And your workstations are really in the same network as your ISPConfig server? Did you try to disable the workstation firewall for a moment?
ubutux
2nd December 2005, 02:45
yes they are all on the same network behind the e-smith firewall box .Yes i also tried with the personal firewalls on the workstations disabled . im using a wireless nics in the ubuntu server do you think this would cause any problems?
falko
2nd December 2005, 11:16
To be honest, I have no idea what's wrong... :confused: :confused:
ubutux
2nd December 2005, 16:09
well thanks for your help up till now ,if anyone else has an idea what the problem maybe i would appreciate your input.
thankyou
falko
2nd December 2005, 21:35
Well, I'm almost 100% sure it's a firewall issue because ISPConfig seems to be running...
ubutux
4th December 2005, 04:02
the e-smith server runs dns etc as well as the ubuntu server do you think that this could be causing a problem??.eventually i will run the ubuntu server behind a smoothwall box and remove the e-smith server all together ,but i obviously need to setup,test and then transfer all my data from the e-smith server .i have been using ubuntu linux for a while now but still class my knowledge as minimal ,this is why i used it for the new server,i have been contemplating changing to debian sarge for the server because of these issues im having,i have read about how stable deb is ,what is your opinion ? i know ubuntu is based on debian so i may still run into these issues after the swap.
thanks
falko
4th December 2005, 12:46
the e-smith server runs dns etc as well as the ubuntu server do you think that this could be causing a problem??.
I thought you had set up Ubuntu on a system of its own?!
Now, is the Ubuntu something like a virtual machine on your firewall system?
I think that could cause the problem...
eventually i will run the ubuntu server behind a smoothwall box and remove the e-smith server all together ,but i obviously need to setup,test and then transfer all my data from the e-smith server .i have been using ubuntu linux for a while now but still class my knowledge as minimal ,this is why i used it for the new server,i have been contemplating changing to debian sarge for the server because of these issues im having,i have read about how stable deb is ,what is your opinion ? i know ubuntu is based on debian so i may still run into these issues after the swap.
thanks
These firewall issues have nothing to do with Ubuntu or Debian; you'll have the same problems after a change so you have to get this sorted before.
Try to set up ISPConfig on a machine of its own instead of on your firewall system.
ubutux
4th December 2005, 15:30
sorry falko i havnt explained it clearly enough ,the ubuntu server runs on a seperate system of its own so i have two seperate server systems running on the same network. what i meant was that both machines are running dns services ,which i wouldnt think would cause any problems.I think it must have something to do with the wireless router or wireless nic im using on the ubuntu server i will connect the ubuntu server to the wired part of my network and try again.
thanks for your help
falko
4th December 2005, 19:14
Maybe it's a DNS issue. Have you tried to access ISPConfig using the system's IP address?
ubutux
4th December 2005, 19:18
I managed to get access to ispconfig , i had to change the workstation settings for the ip for the dns server to the ip of the ubuntu box and it all works ok ,so would this mean i have to have a dns record for the ubuntu server on the esmith box ? so i can test and set up the ubuntu box without issue ?
falko
4th December 2005, 21:42
I managed to get access to ispconfig , i had to change the workstation settings for the ip for the dns server to the ip of the ubuntu box and it all works ok ,so would this mean i have to have a dns record for the ubuntu server on the esmith box ? so i can test and set up the ubuntu box without issue ?
If you use the esmith server as DNS server, then it must have a DNS record for your Ubuntu box (unless you want to work with IP addresses... ;) )!
ubutux
5th December 2005, 02:11
yet it wouldnt work with ip addresses ,at least it is up and running i just have to start to transfer data now .
thanks for your help.
falko
5th December 2005, 10:59
yet it wouldnt work with ip addressesIt doesn't work with the IP address??? :confused:
ubutux
5th December 2005, 17:53
i have done some further playing and have worked out that the wireless router is causing the problem ,with it disconnected and the ubuntu server connected to the wired part of my network it all works ok .i can use the ip adress or hostname and both are working ,i have not altered anything on the esmith server.
till
5th December 2005, 18:11
Does your wireless router has the same IP then your ubuntu server?
ubutux
6th December 2005, 16:03
no the router has a different ip to the ubuntu (ispconfig) server but in the same range 192.168.x.x .
falko
6th December 2005, 17:23
but in the same range 192.168.x.x .
What do you mean in the same range? If both systems are in 192.168.1.x, then it's fine, that's the same network, but 192.168.1.x and 192.168.2.x are different networks, for example...
ubutux
8th December 2005, 03:11
that is what i meant they are in the same network with different address's 192.168.2.5 and 192.168.2.20 .now that i have the ubuntu server on the wired part of my network it all works fine .
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.