ip masq/ip chains and @home email

ip masq/ip chains and @home email

Post by Kenneth Lierman Jr » Tue, 09 May 2000 04:00:00



All,


with ip masq/ip chains.  I set it up exactly as the HOWTO describes, and
almost everything works... from inside the gateway i can ping external

exact.... i'm not at my computer right now):

authorization failed, server responded with:
[AUTH] password for "xxxxx" ?????

If i use the exact same username and password on the gateway machine, i can
get my mail just fine....


do anything special?

Thanks in advance for the help!

 
 
 

ip masq/ip chains and @home email

Post by Wayne Ericks » Tue, 09 May 2000 04:00:00



my masqed clients is they cannot refer to the mail server as just mail. they
have to use the servers full DNS name. going to my gateway...

c67530-a:~# ping -c 1 mail
PING lh2.rdc1.tx.home.com (24.4.0.71): 56 data bytes
64 bytes from 24.4.0.71: icmp_seq=0 ttl=250 time=29.8 ms

--- lh2.rdc1.tx.home.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 29.8/29.8/29.8 ms

now I have the full DNS name (and ip address) and I can use it to retrieve mail
with Netscape. The news server needs to be referenced the same way.

Hope this helps...

Wayne



>All,


>with ip masq/ip chains.  I set it up exactly as the HOWTO describes, and
>almost everything works... from inside the gateway i can ping external
>machines, i can read webpages, etc.  However i cannot get my email off

>exact.... i'm not at my computer right now):

>authorization failed, server responded with:
>[AUTH] password for "xxxxx" ?????

>If i use the exact same username and password on the gateway machine, i can
>get my mail just fine....


>do anything special?

>Thanks in advance for the help!



 
 
 

ip masq/ip chains and @home email

Post by Robert Marshal » Tue, 09 May 2000 04:00:00



One possible gotcha is that, at least in my area, IP name resolution

name of my mailserver in all mailreaders. Since I am masq'ing my
connection, I had to connect to my cable modem with 95, ping "mail",
record the IP address, and perform a reverse lookup on it to find the
FQDN of that server in DNS. Once I had that server name, I could pop3
into it using that FQDN, and it worked fine.

In your case, you might be connecting to the wrong pop3 server, which is
not configured to provide service for your account. Try checking your
domain name as provided at install time (something like
"kdc3.ks.home.net"). With this, now try pinging the host "mail" at that
domain name (thus "mail.kdc3.ks.home.net"). If this points you to a
different server than what you have been using, you may have solved your
issue.


> All,


> with ip masq/ip chains.  I set it up exactly as the HOWTO describes, and
> almost everything works... from inside the gateway i can ping external
> machines, i can read webpages, etc.  However i cannot get my email off

> exact.... i'm not at my computer right now):

> authorization failed, server responded with:
> [AUTH] password for "xxxxx" ?????

> If i use the exact same username and password on the gateway machine, i can
> get my mail just fine....


> do anything special?

> Thanks in advance for the help!


 
 
 

ip masq/ip chains and @home email

Post by Kenneth Lierman Jr » Thu, 11 May 2000 04:00:00


Thanks to everyone that replied.

The trick was (as Wayne suggested) is that on the machines behind the
gateway needed to specify the entire real address, not just "mail" or
"news".

I just used "ping mail" to find what address that really was, and used that
as my mail sever as suggest... now everything is working fine!

Ken

 
 
 

1. IP Chains, IP Masq, and Dial on Demand Problems

I've set up my RH6.0 machine as a dial on demand router to the internet
for my home network.
The Dial on demand part seems to be working pretty well.  My problems
lies (I believe) in that I do not understand IPChains at all (this is
after reading the man pages
and HOWTO's).  Here are my issues.
1.  Client workstations can't send mail .  They can recv. it fine.
2.  My browser keeps telling me that I've been disconnected from the
internet and would I like to work offline or connect.  I hit connect and

everything's OK.
3.  Some web pages aren't working properly through it.  most noteably is

dejanews.  It draws most of the page and then states that the connection

is lost when It tries to display the message.

When I do an ipchains -L this is what I get
chain input (policy ACCEPT):
chain forward (policy MASQ):
chain output (policy ACCEPT):

I'm using IPChains version 1.3.8 for firewall and IP Masq.
I'm using the RH 6.0 default kernel 2.2.5-15
I'm using pppd 2.3.7 for the dial on demand

Help!!!!

2. e-mail reply in knode

3. MS Game Zone w/ Linux 2.2.5/IP Masq/IP Chains

4. node affine NUMA scheduler 5/5

5. IP Chains / IP Masq FTP Problem

6. Sparc 20 & 9gb Root

7. IP Masq/IP Chains Question (forwarding smtp to 'internal' mail server...)

8. Mandrake7.1 with 3dProphetIImx

9. IP Masq'd Workstation to connect to IP Masq'd Workstation

10. IP Masq - Specify IP to Masq as?

11. Configuring net (IP-tunnel, IP-Alias, Proxy-ARP, NAT, IP-Masq?)

12. IP chains/Masq. help

13. Can't make masq work with IP chains