LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2004, 01:12 AM   #1
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
Quick quide to host.allow / deny?


Hi there forum!

I think I need to change my host.allow file. Here is why. I am trying to access my network from vpn. When I connect, I ping to my samba server and I get a response. But when I am trying to access my smb shares, it is not possible. I think that I have to change my host.allow file.

After I connect to the internet so I can access from VPN my ipconfig shows that:
Code:
PPP adapter VMC.Internet

      Connection-specific DNS Suffix . :
      IP Address. . . . . . . . . . . . : 10.2.11.221
      Subnet Mask . . . . . . . . . . . : 255.255.255.255
      Default Gateway . . . . . . . . . : 10.2.11.221
but my ISP tell me that the connection is going through NAT or something and my IP number is in range of 212.92.64.0/25. So what host should I allow?

Thanks for your time!
 
Old 06-19-2004, 01:11 AM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
I'm a little confused about how your network is set up. Are you trying to do something like this:
Code:
        \     ----------                  ---------------     /
You <--- |===| Your ISP |=== Internet ===| Some computer |===| ---> Samba Server
        /     ----------  ^               ---------------     \
                          |
                    VPN tunnel
--mascdman
 
Old 06-19-2004, 06:17 AM   #3
dtournas
Member
 
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Original Poster
Rep: Reputation: 16
Thanks for the reply, the "some computer" is an IPCop box. Anyway, I got it right. There is no need to change the host.allow file, only change the hosts file on my XP box.

Thanks again!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deny a host access to all services objorkum Linux - Networking 5 08-17-2007 02:54 PM
How to setup a host.deny and host.allow for SSH? explorer1979 Linux - Security 2 01-31-2005 05:28 PM
How do I deny host? Inexactitude Linux - Security 3 02-22-2004 02:00 PM
no hostnames in host allow/deny list error with samba colpaarm Linux - Software 1 07-18-2003 10:12 AM
host.deny is very wierd ForumKid Linux - Security 1 12-26-2001 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:28 AM.

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