LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2011, 02:45 PM   #1
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Rep: Reputation: 7
Is there a Block/Allow file I'm missing?


Hey all, I've installed a couple of Linux servers here at my work. They're basically just file repositories at this time but hey, they run Linux and they're problem free. Until now. We were almost out of IP addresses so I moved us from one big subnet to three subnets: 1.xxx, 2.xxx and 3.xxx. All of my workstations are in the 1.xxx or the 3.xxx subnets, all of my servers are in the 2.xxx subnet and we're all separated by a Fortigate router. If I set my workstation address to 2.xxx I can get into everything, but if I set my workstation address to 1.xxx I can get into everything except my Debian 6 server. I can ping the server, I can run NMAP on it and see all of the ports but I can't ssh into it or access it from a web browser. If I change back to a 2.xxx address I can do all of these things. Does my Debian server have some kind of ACL list running on it? I didn't set up anything like that that I know of but I'm still kind of new to Linux.

Thanks,

Joe B
 
Old 10-28-2011, 01:16 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Possibly iptables (aka firewall); try
Code:
iptables -nvL
on target system as root
 
Old 10-30-2011, 04:05 PM   #3
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Hi chrism01, here's the output of your iptables code:

root@BigDeb:/home/jobee# iptables -nvL
Chain INPUT (policy ACCEPT 276 packets, 42817 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 117 packets, 28661 bytes)
pkts bytes target prot opt in out source destination
root@BigDeb:/home/jobee#

I don't have any idea what any of this means but I'm guessing that since nothing is listed under what I believe to be column headings my problem isn't being caused by iptables. Do you see anything here?

Thanks,

Joe B
 
Old 11-01-2011, 01:18 PM   #4
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
So there aren't any Access Control Lists that could be automatically configured for current subnet access? I can't find anything that's blocking access. It's for sure not a routing issue because I can access a CentOS server that's plugged into the same switch. Any one have any guesses for something to look into???

Thanks,

Joe B
 
Old 11-02-2011, 01:15 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Have you checked /etc/hosts.allow, /etc/hosts.deny ? (Assuming correct locations for Debian)
Also check the /etc/ssh/sshd_config on server end.
 
Old 11-02-2011, 05:11 PM   #6
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Chrism01, I added the following line to hosts.allow (it was blank, and it WAS under /etc) but it didn't help:

ALL : 192.168.1.0/255.255.255.0 \

I checked the hosts.deny file and it was blank. I uncommented the ListenAddress 0.0.0.0 line but that didn't help either. Any other ideas? Anyone else?

Thanks,

Joe B
 
  


Reply



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
[SOLVED] Missing /dev/ special file after I register a block device eantoranz Linux - Kernel 3 04-17-2011 12:12 PM
Missing Partitions in /sys/block and /dev ThatGuyTim Linux - Newbie 6 01-30-2009 03:05 PM
missing LVM block device on RHEL50 babel17 Linux - Server 3 01-24-2008 04:58 PM
Missing Block Device /dev/hdc1 !?! whishkah Linux - Hardware 2 09-06-2006 09:31 AM
iptables how to block p2p (missing ipp2p) Neze Linux - Networking 1 02-01-2005 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration