Networking Forums

Networking Forums > Computer Networking > Linux Networking > Cant see linux server through gateway.

Reply
Thread Tools Display Modes

Cant see linux server through gateway.

 
 
Alan
Guest
Posts: n/a

 
      09-15-2003, 02:34 PM
Are you sitting comfortably?

Then i'll begin......

To start off im new to linux so could any correspendence be kept to
words of one syllable!


We have a linux server at site A on IP address xx.yy.zz.aa, with a
suitable mask 255.255.255.0 and gateway address (of the router to the
rest of the network).

Users at site A can see the linux server and use it as they require,
but users at site B are unable to browse the server either via IP
address or server name, there are no firewalls in the way as it is on
an internal structure (private ISDN line).

users on site B have been able to telnet into the server and log in as
root but are unable to see the server or browse the file structure.

Anybody got any ideas as to what it could be?

Thanks in advance

Alan
 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      09-15-2003, 08:45 PM
In article <8e317$3f66203f$3e15ee5a$(E-Mail Removed)>,
Jan Geertsma wrote:
> firewalls are for unsure administrators, to lock out ports they forgot to
> close.


Well yes, but also for:
1. Services like rpc.portmap, which AFAIK bind to all interfaces
2. Stealthing, to hide your host on any given port (DROP v. REJECT)
3. Protection against possible TCP/IP stack vulnerabilities
4. Improved logging of attack attempts
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Jan Geertsma
Guest
Posts: n/a

 
      09-15-2003, 09:28 PM
"seeing linux" from a windows perspective usually means "file and printer
sharing" in windows terms... which translates to linux in SAMBA ..

In my /etc/samba/smb.conf I have to specify which interfaces
(ip-address-ranges) are allowed to login... I specified my Lan A
(192.168.1.x) but also my best friends Lan B (10.x.x.x)... excluding any
internet connections.

interfaces = 192.168.0.24/24 10.0.0.0/8

firewalls are for unsure administrators, to lock out ports they forgot to
close.

puppywhacker

"Alan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Are you sitting comfortably?
>
> Then i'll begin......
>
> To start off im new to linux so could any correspendence be kept to
> words of one syllable!
>
>
> We have a linux server at site A on IP address xx.yy.zz.aa, with a
> suitable mask 255.255.255.0 and gateway address (of the router to the
> rest of the network).
>
> Users at site A can see the linux server and use it as they require,
> but users at site B are unable to browse the server either via IP
> address or server name, there are no firewalls in the way as it is on
> an internal structure (private ISDN line).
>
> users on site B have been able to telnet into the server and log in as
> root but are unable to see the server or browse the file structure.
>
> Anybody got any ideas as to what it could be?
>
> Thanks in advance
>
> Alan



 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      09-15-2003, 09:47 PM
/dev/rob0 wrote:
> In article <8e317$3f66203f$3e15ee5a$(E-Mail Removed)>,
> Jan Geertsma wrote:
>
>>firewalls are for unsure administrators, to lock out ports they forgot to
>>close.


Holy smokes!

>
>
> Well yes, but also for:
> 1. Services like rpc.portmap, which AFAIK bind to all interfaces
> 2. Stealthing, to hide your host on any given port (DROP v. REJECT)
> 3. Protection against possible TCP/IP stack vulnerabilities
> 4. Improved logging of attack attempts


5. Making sure the hosts on the LAN behave, or is the admin supposed to
walk around and lock their ports too?

 
Reply With Quote
 
Alan
Guest
Posts: n/a

 
      09-16-2003, 09:44 AM
Many thanks for your help, I will try it shortly.

Just for my own learning experience, what is the number after the
forward slash on the IP address, im assuming it is something to do
with ports but I am unsure what.

i.e. 10.20.10.0/xx

Thanks in Advance

Alan.
 
Reply With Quote
 
Bob Hauck
Guest
Posts: n/a

 
      09-17-2003, 12:07 AM
On 16 Sep 2003 02:44:11 -0700, Alan <(E-Mail Removed)> wrote:

> Just for my own learning experience, what is the number after the
> forward slash on the IP address, im assuming it is something to do
> with ports but I am unsure what.
>
> i.e. 10.20.10.0/xx


It is the number of bits of the address that represent the network,
counting from the left. The remaining bits specify a host on the
network. For example, converting a network address of 10.20.10.0 and
mask of /24 to binary (note how the dots divide the address on byte
boundaries):

Addr: 0000 1010 . 0001 0100 . 0000 1010 . 0000 0000 = 10.20.10.0
Mask: 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000 = 255.255.255.0

If a given address can be bitwise-ANDed with the mask to give your
network address, then it must be on your network, otherwise not. That's
how routers figure out which entries in their table match an address.
For instance, take 10.20.10.85:

Addr: 0000 1010 . 0001 0100 . 0000 1010 . 0101 0101 = 10.20.10.85
Mask: 1111 1111 . 1111 1111 . 1111 1111 . 0000 0000 = 255.255.255.0

AND: 0000 1010 . 0001 0100 . 0000 1010 . 0000 0000 = 10.20.10.0

The network address always has all zeros in the bit positions to the
right of the mask, the corresponding address with all ones in those
positions is the broadcast address (i.e. the broadcast in our example
would be 10.20.10.255). These two addresses are reserved and should not
be assigned to any device.


--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WINDOWS 2003 VPN SERVER BEHIND LINUX GATEWAY Nicolas Linux Networking 6 11-15-2006 11:40 PM
Linux as NAT gateway to IPSEC server deja3-user@bitrealm.com Linux Networking 3 09-12-2005 04:38 AM
Windows XP VPN server behind Linux gateway Markus Linux Networking 1 01-21-2005 03:18 PM
2 linux gateway Vinod Linux Networking 4 01-16-2005 05:37 PM
vpn through linux gateway John Doe Linux Networking 4 11-23-2003 12:42 PM



1 2 3 4 5 6 7 8 9 10 11