Help request - networking, setting up local & internet together

Help request - networking, setting up local & internet together

Post by Dav » Sun, 24 Oct 1999 04:00:00



I've searched howtos, online sources, etc. for a few weeks now.  I
just can't seem to get it figured out.

I have RedHat Linux (6.0?) set up with DSL internet access with a
static IP using eth0.  I have eth1 set up with connections to two
local PCs running NT.  Physically, they seem correct - I can telnet to
Linux from across the internet, and can telnet to to either the
internet IP or the LAN IP address from the NT boxes.  I can even
browse the web on the NT boxes through the Linux DSL connection.

I know things aren't quite right, because I can't use the Linux box as
a POP mail server.  I can pick up POP mail from an internet account
using Pegasus/NT.  I can telnet into linux and use pine to read my
mail.  What I want to do (and can't) is pick up POP mail from the
Linux box.  I've tried the domain name, and both IP addresses of the
Linux box.  I've tried "mail", and anything else I can think of.  I
can _not_ telnet into the Linux box using port 110.

Is there anyone that can point me in the right direction as far as
files to check, questions to ask, etc.?  Linux terminology has me a
bit confused, and I've reached the end as far as sources to consult.

Thanks for any assistance!

Dave

 
 
 

Help request - networking, setting up local & internet together

Post by Dav » Sat, 30 Oct 1999 04:00:00


Despite the fact that on one has replied (am I in the wrong place?),
I've made slight headway.  It seems that port 110 won't answer the
call.  I can telnet into other ports just fine, but 110 (the POP3
port, as far as I can tell) simply says, "Connection refused".
/etc/services has a line "pop-3  110/tcp" and another "pop-3 110/udp",
and I can find no other references online or locally that help.  I
believe the fact that port 110 is "refusing connection" is why I can't
get mail working.

Anyone?


>I've searched howtos, online sources, etc. for a few weeks now.  I
>just can't seem to get it figured out.

>I have RedHat Linux (6.0?) set up with DSL internet access with a
>static IP using eth0.  I have eth1 set up with connections to two
>local PCs running NT.  Physically, they seem correct - I can telnet to
>Linux from across the internet, and can telnet to to either the
>internet IP or the LAN IP address from the NT boxes.  I can even
>browse the web on the NT boxes through the Linux DSL connection.

>I know things aren't quite right, because I can't use the Linux box as
>a POP mail server.  I can pick up POP mail from an internet account
>using Pegasus/NT.  I can telnet into linux and use pine to read my
>mail.  What I want to do (and can't) is pick up POP mail from the
>Linux box.  I've tried the domain name, and both IP addresses of the
>Linux box.  I've tried "mail", and anything else I can think of.  I
>can _not_ telnet into the Linux box using port 110.

>Is there anyone that can point me in the right direction as far as
>files to check, questions to ask, etc.?  Linux terminology has me a
>bit confused, and I've reached the end as far as sources to consult.

>Thanks for any assistance!

>Dave


 
 
 

Help request - networking, setting up local & internet together

Post by Brian Le » Sat, 30 Oct 1999 04:00:00


Did you check that pop3 is enable (not commented in the /etc/inetd.conf
file)?

And also, make sure that imap is installed.  I think redhat doesn't install
imap by default.

Good luck.

Brian


> Despite the fact that on one has replied (am I in the wrong place?),
> I've made slight headway.  It seems that port 110 won't answer the
> call.  I can telnet into other ports just fine, but 110 (the POP3
> port, as far as I can tell) simply says, "Connection refused".
> /etc/services has a line "pop-3  110/tcp" and another "pop-3 110/udp",
> and I can find no other references online or locally that help.  I
> believe the fact that port 110 is "refusing connection" is why I can't
> get mail working.

> Anyone?


> >I've searched howtos, online sources, etc. for a few weeks now.  I
> >just can't seem to get it figured out.

> >I have RedHat Linux (6.0?) set up with DSL internet access with a
> >static IP using eth0.  I have eth1 set up with connections to two
> >local PCs running NT.  Physically, they seem correct - I can telnet to
> >Linux from across the internet, and can telnet to to either the
> >internet IP or the LAN IP address from the NT boxes.  I can even
> >browse the web on the NT boxes through the Linux DSL connection.

> >I know things aren't quite right, because I can't use the Linux box as
> >a POP mail server.  I can pick up POP mail from an internet account
> >using Pegasus/NT.  I can telnet into linux and use pine to read my
> >mail.  What I want to do (and can't) is pick up POP mail from the
> >Linux box.  I've tried the domain name, and both IP addresses of the
> >Linux box.  I've tried "mail", and anything else I can think of.  I
> >can _not_ telnet into the Linux box using port 110.

> >Is there anyone that can point me in the right direction as far as
> >files to check, questions to ask, etc.?  Linux terminology has me a
> >bit confused, and I've reached the end as far as sources to consult.

> >Thanks for any assistance!

> >Dave

 
 
 

Help request - networking, setting up local & internet together

Post by Peter T. Breue » Sat, 30 Oct 1999 04:00:00


: I've made slight headway.  It seems that port 110 won't answer the
: call.  I can telnet into other ports just fine, but 110 (the POP3
: port, as far as I can tell) simply says, "Connection refused".
: /etc/services has a line "pop-3  110/tcp" and another "pop-3 110/udp",

Installed the pop3d yet?

:>I've searched howtos, online sources, etc. for a few weeks now.  I
:>just can't seem to get it figured out.

Any single one of them would have told you to install the server
daemon, point inetd.conf/services at it, check hosts.allow/deny,
kill -1 inetd, and go. It's hardly a labour of weeks!

--
Peter

 
 
 

1. help PC dhcp Internet ok but local network no Internet

hello i'm a newbie in the beautiful world of linux!

here it goes :

Same PC Red-Hat 8.0 FireWall/Server

eth0 DHCP =
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:05:5d:f3:f5:2b
USERCTL=no
PEERDNS=no
TYPE=Ethernet

eth1 192.168.0.1 =
DEVICE=eth1
BOOTPROTO=none
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
HWADDR=00:05:5d:f3:f6:77
USERCTL=no
PEERDNS=no
TYPE=Ethernet

iptables :
here what i have put on a shell to configure my iptables :

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t nat -F PREROUTING
iptables -t nat -F OUTPUT
iptables -t mangle -F POSTROUTING
iptables -t mangle -F PREROUTING
iptables -t mangle -F OUTPUT
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0/0 -j MASQUERADE

when i tested it :

iptables -L

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

So it's seems ok for the Firewall iptables

My second PC is a Windows 2000
ip 192.168.0.3
gw 192.168.0.1
my dns are ok too

My third PC is Linux Mandrake
ip 192.168.0.2
gw 192.168.0.1
my dns are ok too

The problem is :

MY PC Firewall/server (eth0 - eth1) surf on the INternet without
problem

My second and third PC of my local network (windows 2000 + Linux) are
not surfing on the net!!! Why?

My cable are ok, all my PCs are pinging each other
i can ping

192.168.0.1
192.168.0.2
192.168.0.3

to all my PC (+ the broadcast)

So to resume : 1 PC is going to Internet and all my network PCs do not
go to Internet! on them i cannot ping IP and i cannot ping URL
(exemple i cannot ping xxx.xxx.xxx.xxx or www.linux.org) but on my PC
dhcp i can ping xxx.xxx.xxx.xxx. and ping www.linux.org!

Help me my world will be a better place! :-)

2. FreeBSD and modems

3. ipfwadm -- How do you set multiple internet IP over a local network ?

4. Getting Mosaic Up:A Newbies Experience [long]

5. How do you set multiple internet IP over a local network ?

6. mail client

7. Linux machine need local network & internet IP address?

8. /dev/console for Slackware 1.1.0 + Linux-99.14

9. internet&local network

10. Linux machine need local network & internet IP address?

11. local network no Internet PC firewall go to Internet

12. local network&internet

13. Help networking my Linux & NT boxes together.