Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we are having xen server free running on a remote machine,which is having a public ip,through which i am access the console...

When accessed through browser its showing a page to download xen centre.

i want that to be hidden,i tried iptables to block it by disabling port 80 from other ips.But after that i could nt access the xen server using Xen Centre.Is there a better way to solve this?


that was iptable miss configuration allowing to connect solved this...

share|improve this question
up vote 1 down vote accepted

Why not use iptables to block port 80 from all ips apart from yours? That would still enable you to use the console etc.

share|improve this answer
yes that was what i did.. it fixed browser problem but after that citrix xen centre lost its connection. – ananthan Aug 9 '12 at 15:42
Sounds like you got the iptables rule wrong- as this shouldn't have affected your connection. Xen Server is designed to use a console card on a seperate ip, rather than on a public ip for management – AliGibbs Aug 9 '12 at 15:46
i setted this on a local machine and gave this rule iptables -I INPUT -p tcp ! -s my-ip --dport 80 -j REJECT but after this xen centre couldnt connect – ananthan Aug 9 '12 at 15:49
1 was iptable miss configuration.. allowing localhost to connect fixed that...sorry.... – ananthan Aug 9 '12 at 16:09

That was iptable misconfiguration. Allowing to connect solved this.

iptables -I INPUT ! -s allowed-ip --dport 80 -j REJECT
iptables -I INPUT -j ACCEPT
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.