From: bert hubert ahu@ds9a.nl
To: lartc@vger.kernel.org
Subject: [LARTC] Packet rewriting
Date: Wed, 25 Oct 2000 16:25:58 +0000 [thread overview]
Message-ID: <marc-lartc-98373938216844@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216838@msgid-missing>
<PRE>On Wed, Oct 25, 2000 at 03:31:00PM +0200, Fredrik Rambris wrote:
><i> [Internet]--[UU-Router.161]--[Firewall.162]
</I>><i> I want to be able to put a machine behind the firewall on a public
</I>><i> IP-adress (.163) but still protected by the firewall. I was told that
</I>><i> this could be done in other firewalls by aliasing the NIC on the outside
</I>
Are you very sure that have not been given yet another net, and that this is
only the uplink LAN? The regular arrangement is to have two nets, and your
.162 machine in both of 'em.
If you really only have one net, you need to do proxy arp for a subnet. This
means that 162 will pretend to be all computers. You also need an extra
ethernet card.
><i> Is this possible with ipchains and some fancy packetrewriting?
</I>
You're note really rewriting packets, you're just passing them around. I've
built a setup like this and it works.
However, I'm not sure how you setup proxy arp in 2.2. There might be three
ways:
1) 'arp'
2) 'ip neigh'
3) '/proc/something/proxy_arp'
1) Used to work but I seem to remember that it is now deprecated
2) may work even if 1) doesn't
3) may be the 'new wave', but I'm not sure how it works.
Regards,
bert hubert
--
PowerDNS Versatile DNS Services
Trilab The Technology People
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
</PRE>
parent reply other threads:[~2000-10-25 16:25 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <marc-lartc-98373938216838@msgid-missing>]
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=marc-lartc-98373938216844@msgid-missing \
--to=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.