LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-17-2005, 12:50 PM   #1
justin99
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
firewall blocking cpanel login


i just setup guarddog firewall, works fine, good results from [shields up] at grc.com - but i can't login to my website cpanel.

i checked the boxes for http, https, ftp, ssh, kerberos, and anything else i could find that seemed relevant to remote, secure login but still can't login to cpanel. only works if i disable firewall altogether.

is there a specific combination of protocols to permit so i can login to my cpanel without diabling the firewall everytime.

also- in guarddog there are two sets of protocols- internet and local- do i have to check all boxes in both zones?

thanks in advance
 
Old 05-19-2005, 03:01 AM   #2
chrisfirestar
Member
 
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231

Rep: Reputation: 30
from what I understand CPANEL runs on a unique port. I could be wrong but 2082?? so you will need to open up that port. If the UI doesnt allow then read some stuff on iptables. the basic command will be:

iptables -A INPUT -i eth0 -m tcp -p tcp -dport 2082 -j ACCEPT

where eth0 is the ethernet nic you are accessing through... try that out
 
Old 05-27-2005, 03:53 PM   #3
justin99
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
no luck

Quote:
iptables -A INPUT -i eth0 -m tcp -p tcp -dport 2082 -j ACCEPT

where eth0 is the ethernet nic you are accessing through... try that out
this didn't work- but then again i don't know what (eth0) 'ethernet nic' means
i'm on dialup- external serial port modem- i tried googling around for ethernet nic and i don't have a clue.

i noticed on my cpanel it says :2083 so i tried that port with above command as well- still no luck

i tried iptables --help, and a few variations of above command, all with no luck

thanks for the help, any other clues?
 
Old 05-28-2005, 07:04 AM   #4
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
iptables -A INPUT -p tcp --dport 2082 -j ACCEPT

Try this one , or try to allow port 2082 in your filewall configuration file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewall blocking some POP3 requests Funky D Linux - Networking 5 09-23-2005 04:21 PM
firewall blocking internet k4zau Linux - Networking 1 09-24-2004 02:18 PM
blocking Web on firewall to use only squid mfeoli Linux - Networking 0 01-27-2004 10:04 AM
firewall traffic blocking help jaylee Linux - Security 8 06-30-2003 10:44 AM
Firewall not blocking ports... bfloeagle Linux - Security 9 05-20-2003 02:53 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration