[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Ipchains redirecting IP to a different machine
- Subject: [cobalt-users] Ipchains redirecting IP to a different machine
- From: Josh Kuperman <josh@xxxxxxxxxxxxxxxxxx>
- Date: Fri Jul 26 06:55:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I am using a RaQ XTR with two NICS as a firewall. Right now, the raq
is only machine which is the only machine directly accessing the
internet. I would like to do a few experiments using other
machines. How do I set up ipchains to direct traffic to another
machine, preferable from a small subset of locations.
Theser are make believe to save typing: Say I have 1.2.3.1 to 1.2.3.8
assigne as externand and I'm using a 192.168.1.x internal network. The
raq is currently 1.2.3.1 and 1.2.3.2 to the outside world with a
virtual site. The internal interface is 192.168.1.1. I want to add a
local machine 192.168.1.2 and have all traffic to 1.2.3.3 go to
192.168.1.2 except for what I want to reject or deny with ipchains.
On a side note what is the 'recommended' way to set up machines with
two nics. I gave a distinct name to each interface, so 1.2.3.1 is
bob.mydomain.org and 192.168.1.1 is fred.mydomain.org. All this is
fine except for I'd like websites to display as www.mydomian.org and
mail to just get sent out as from mydomain.org instead sometimes the
interface names bob and fred creep in or at least show up where I
wasn't expecting them. They work, as aliases but if you use www.mydomain.org to
get to the web site what displays is bob.mydomain.org in the title
bar.
--
Josh Kuperman
josh@xxxxxxxxxxxxxxxxxx