From: Nandan Bhat <nlbhat@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Newbie request
Date: Tue, 12 Dec 2006 13:04:49 +0530 [thread overview]
Message-ID: <457E5B99.7050005@gmail.com> (raw)
Hi,
I am trying to setup an old machine having two NICs with Fedora Core 5.
I have two Class C networks (I hope I got that right).
eth0 is assigned 192.168.1.6/255.255.255.0 .
eth1 is set to DHCP and is part of 192.168.0.0/24 .
I need some machines on 192.168.1.0/24 network to be able to get/send
mail using 192.168.0.10 . Mail is limited to these networks and does not
go to the outside world.
I have gone through the Linux-IP-Masquerade HOWTO and feel that I don't
need a very liberal ruleset. Only smtp,pop functionality, especially
connecting with 192.168.0.10 is sufficient.
My question is: Do I need a SNAT rule or should I try something with
nat+FORWARD? I just went through iptables manual and am somewhat able to
understand the rules in the HOWTO - stronger firewall example.
Thanks in advance,
Nandan Bhat
next reply other threads:[~2006-12-12 7:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 7:34 Nandan Bhat [this message]
2006-12-12 8:31 ` Newbie request Rob Sterenborg
2006-12-12 10:47 ` Pascal Hambourg
2006-12-12 11:10 ` Rob Sterenborg
2006-12-13 2:37 ` Grant Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=457E5B99.7050005@gmail.com \
--to=nlbhat@gmail.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox