/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
Good day, Tony,
On Tue, 14 Sep 1999, Tony Laszlo wrote:
> > > /sbin/ipchains -A forward -j MASQ -s 192.168.1.0/255.255.255.0 -d 0.0.0.0/0 -i e
> > > th0
> > I believe the problem is the "-i eth0". Masquerading rules (and,
> > in fact, _all_ forwarding rules) need to use the interface the packets use
> > to _leave_ the system - ppp0, in your case.
> > Try changing the "-i eth0" to "-i ppp0" and I think it'll work.
>
> Thanks, Bill!
> That did the trick.
>
> That line was generated automatically by my configuration
> tool; can't rely on these things, I guess.
What configuration tool did you use? It might be worth contacting
the author and letting him/her know that forwarding rules need to use the
outbound interface.
> the next big step will be to try to send and receive mail
> from a popmail/imap account other than my provider. I
> have been told by my provider that their system is set up
> so that mail not from their domain cannot be sent in
> this way; it will be rejected. I'll see for myself soon.
That's probably the case. They'll reject it based on the domain
used, not on the ip address from which you connect. For this reason,
this isn't a problem that can be fixed by an ipchains or ipfwadm firewall.
One good option you have is to feed all your mail through the
sendmail running on your own box. Sendmail will pass email along directly
to the destination so you don't have to use your provider's smtp server.
Cheers,
- Bill
---------------------------------------------------------------------------
You're not Dave. Who are you?
(Courtesy of Benjamin Lewis <[EMAIL PROTECTED]>)
--------------------------------------------------------------------------
William Stearns ([EMAIL PROTECTED]). Mason, Buildkernel, named2hosts,
and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns/
--------------------------------------------------------------------------
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.