Networking Forums

Networking Forums > Computer Networking > Linux Networking > Some services are not listening on external network

Reply
Thread Tools Display Modes

Some services are not listening on external network

 
 
crabouif
Guest
Posts: n/a

 
      09-03-2003, 04:58 PM
Srange...

I have a server (SuSe 8.1) vith 2 network card.
- eth0 on dhcp cable external network
- eth1 on internal network with fix address 192.168.0.1

Samba is running and work fine on local network. But when I try to
acess Samba from external computer, no response, like Samba is not
listening on eth0...

This is not the firewall because I try with firwall stopped, and I
open 137:139 port...

In my tests, I try with telnet:
- telnet 192.168.0.1 139 -> From internal, work fine
- telnet my_ext_ip_address 139 -> From external, no response (time
out)
- telnet my_ext_ip_address 80 -> From external, work fine

And that with or without firewall...

I'm not understanding...

Anyone help me, thanks.

Pascal
 
Reply With Quote
 
 
 
 
Monzai
Guest
Posts: n/a

 
      09-03-2003, 09:32 PM
Dear Pascal,
what if your ISP blocks ports 137-139 by default or if your
cable modem/dsl modem has a build-in filter which drops
connections to that ports? Have you thought about that?
Since you get a successfull response from the internal
network your services seem to run fine. Check your modem
first to see if there is a filter. Alternatively to
telnet you can use
nmap your_ext_ip -p 135-139
to see if there is a response and if you see someth like this:
135/tcp filtered loc-srv
137/tcp filtered netbios-ns
138/tcp filtered netbios-dgm
139/tcp filtered netbios-ssn
it means there is something filtering....
Hope that helps.
Cheers,
Monzai :-)

If you have a lot of samba-machines and you configure them
with swat then you must use Monzai! Ok, you don't have
to, but once you use it, you'll love it! Have look at the
live-demo at http://www.monzai.com/



crabouif wrote:
> Srange...
>
> I have a server (SuSe 8.1) vith 2 network card.
> - eth0 on dhcp cable external network
> - eth1 on internal network with fix address 192.168.0.1
>
> Samba is running and work fine on local network. But when I try to
> acess Samba from external computer, no response, like Samba is not
> listening on eth0...
>
> This is not the firewall because I try with firwall stopped, and I
> open 137:139 port...
>
> In my tests, I try with telnet:
> - telnet 192.168.0.1 139 -> From internal, work fine
> - telnet my_ext_ip_address 139 -> From external, no response (time
> out)
> - telnet my_ext_ip_address 80 -> From external, work fine
>
> And that with or without firewall...
>
> I'm not understanding...
>
> Anyone help me, thanks.
>
> Pascal


 
Reply With Quote
 
Pascal Fluck
Guest
Posts: n/a

 
      09-08-2003, 06:00 PM
Well, I found...

I'm doing my tests with SSH on a server behind a strong firewall...

And for Samba I insert in global section of smb.conf :
interfaces = eth0 eth1 lo
bind interfaces only = True

So I resolve my problem, thank's a lot for your help!

Pascal

"Monzai" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> Dear Pascal,
> what if your ISP blocks ports 137-139 by default or if your
> cable modem/dsl modem has a build-in filter which drops
> connections to that ports? Have you thought about that?
> Since you get a successfull response from the internal
> network your services seem to run fine. Check your modem
> first to see if there is a filter. Alternatively to
> telnet you can use
> nmap your_ext_ip -p 135-139
> to see if there is a response and if you see someth like this:
> 135/tcp filtered loc-srv
> 137/tcp filtered netbios-ns
> 138/tcp filtered netbios-dgm
> 139/tcp filtered netbios-ssn
> it means there is something filtering....
> Hope that helps.
> Cheers,
> Monzai :-)
>
> If you have a lot of samba-machines and you configure them
> with swat then you must use Monzai! Ok, you don't have
> to, but once you use it, you'll love it! Have look at the
> live-demo at http://www.monzai.com/
>
>
>
> crabouif wrote:
> > Srange...
> >
> > I have a server (SuSe 8.1) vith 2 network card.
> > - eth0 on dhcp cable external network
> > - eth1 on internal network with fix address 192.168.0.1
> >
> > Samba is running and work fine on local network. But when I try to
> > acess Samba from external computer, no response, like Samba is not
> > listening on eth0...
> >
> > This is not the firewall because I try with firwall stopped, and I
> > open 137:139 port...
> >
> > In my tests, I try with telnet:
> > - telnet 192.168.0.1 139 -> From internal, work fine
> > - telnet my_ext_ip_address 139 -> From external, no response (time
> > out)
> > - telnet my_ext_ip_address 80 -> From external, work fine
> >
> > And that with or without firewall...
> >
> > I'm not understanding...
> >
> > Anyone help me, thanks.
> >
> > Pascal

>



 
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
Using internal services via external IP address Scottatron Linux Networking 2 05-03-2007 11:51 PM
Services listening on all ports? tshad Windows Networking 10 01-22-2007 10:26 PM
Two Services Listening Buck Turgidson Linux Networking 1 03-07-2005 04:48 PM
Two Services Listening on Same Port Buck Turgidson Linux Networking 1 03-07-2005 02:37 PM
Two Services Listening on Same Port Buck Turgidson Linux Networking 13 03-06-2005 01:23 PM



1 2 3 4 5 6 7 8 9 10 11