tickmike Posted October 10, 2012 Posted October 10, 2012 (edited) I wanted to try 'CentOS' for my home NAS & Backup-server, So I downloaded the net install iso and finally installed CentOS 6.3 with minimum server install. I then installed 'X Window System' And 'Gnome Desktop', That all went well, I then created a 'User' account, logged out of root and into user, then updated it. I have used 'Webmin' before on 'PCLinuxOS' so I wanted to try it on this distro and followed this to install it ... Install Webmin on CentOS 6.3 | Zwiegnet Blog 2012 But I cannot get it to run in firefox !. http://file-server.localdomain:10000 ............ I just get 'Server not found' # service webmin status Webmin (pid 1724) is running # uname -a Linux file-server.localdomain 2.6.32-279.9.1.el6.i686 There is no firewall on this test machine. Any idea's what I can try please. Edited October 11, 2012 by tickmike
SHimmer45 Posted October 11, 2012 Posted October 11, 2012 when i tried this i just used the http://linuxmachinename:port. is the server set to allow incoming connections, it was either centos/ubuntu which needed the IPTABLES tweaking to allowing incoming traffic
ragbuster Posted October 11, 2012 Posted October 11, 2012 Have you tried using the urls : "http://localhost:10000" or "https://localhost:10000"
twin--turbo Posted October 11, 2012 Posted October 11, 2012 it will be https do https://ipofserver:10000 Rob
cpjitservices Posted October 11, 2012 Posted October 11, 2012 OR it could be the firewall is blocking http or https. run this command: system-config-firewall-tui BEAWARE though system-config may not be install so you may need to run 'yum install system-config-firewall-tui' Once into system-config edit the firewall - scroll down the list and enable http and https and then go forward until you go to the end and apply it. This is done through CLI - I've never done it through Gnome Desktop - Ive never installed CentOS with a Desktop.
cpjitservices Posted October 11, 2012 Posted October 11, 2012 anyway after you've done the firewall restart webmin with 'service httpd restart' and service webmin restart'.
SHimmer45 Posted October 11, 2012 Posted October 11, 2012 pulled from the webmin support pages: Webmin
tickmike Posted October 11, 2012 Author Posted October 11, 2012 Thanks all I will have another look tonight.
tickmike Posted October 11, 2012 Author Posted October 11, 2012 The one that worked was "http://localhost:10000" by ragbuster Thanks, I did not have to do anything else because I do not think that I installed / set up 'iptables' # service iptables status Table: filter Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 4 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain FORWARD (policy ACCEPT) num target prot opt source destination 1 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT) num target prot opt source destination Does that mean it's not running ?. The ' cli ' takes some getting used too !.
ragbuster Posted October 11, 2012 Posted October 11, 2012 If iptables is running it will be listed as running under the services application. Your rules from above show rejecting all forwarding and for your incoming you reject all initially and then allow all via all those rules. Well thats how it would be interpreted in webmin but not sure if cli mode shows it reversed, if so you are enabling all ports and then finally rejecting everything.
tickmike Posted October 11, 2012 Author Posted October 11, 2012 @ ragbuster In webmin it says ----------------------------------------------------------------------------------------------------------------------------------------- Linux Firewall Rules file /etc/sysconfig/iptables Search Docs.. Incoming packets (INPUT) - Only applies to packets addressed to this host Select all. | Invert selection. Action Condition Move Add Accept If state of connection is ESTABLISHED,RELATED Accept If protocol is ICMP Accept If input interface is lo Accept If protocol is TCP and destination port is 22 and state of connection is NEW Reject Always Select all. | Invert selection. Forwarded packets (FORWARD) - Only applies to packets passed through this host Select all. | Invert selection. Action Condition Move Add Reject Always Select all. | Invert selection. Outgoing packets (OUTPUT) - Only applies to packets originated by this host There are no rules defined for this chain. Click this button to make the firewall configuration listed above active. Any firewall rules currently in effect will be flushed and replaced Click this button to reset the configuration listed above to the one that is currently active. Yes No Change this option to control whether your firewall is activated at boot time or not. Click this button to clear all existing firewall rules and set up new rules for a basic initial configuration. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ This is from 'Boot up and shutdown' iptables Starts, stops and saves iptables firewall Yes (start at boot) Unknown status ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ I will just use port 22xx for ssh to the server and block the rest if I dicide to use Centos for my NAS. once I have found my way around I will install raid 1 on it and do more tests.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now