All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Packet rewriting
       [not found] <marc-lartc-98373938216838@msgid-missing>
@ 2000-10-25 16:25 ` bert
  0 siblings, 0 replies; only message in thread
From: bert @ 2000-10-25 16:25 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, Oct 25, 2000 at 03:31:00PM +0200, Fredrik Rambris wrote:

&gt;<i> [Internet]--[UU-Router.161]--[Firewall.162]
</I>&gt;<i> I want to be able to put a machine behind the firewall on a public
</I>&gt;<i> IP-adress (.163) but still protected by the firewall. I was told that
</I>&gt;<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.

&gt;<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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-25 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <marc-lartc-98373938216838@msgid-missing>
2000-10-25 16:25 ` [LARTC] Packet rewriting bert

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.