/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
James D. Silliman wrote:
> I am having a time getting my internal NIC (eth1) to masquerade.
are you sure you want an internal nic to masquerade?
normally, people want the external nic to masquerade.
are you trying to make the internet look like a single
address? perhaps a network diagram and an explanation would help.
> I'm using Slackware 8 with Kernel 2.4.5
>
> The external NIC can get anywhere. I can ping both NICs from the main box,
> but from an internal machine, I cannot ping the internal NIC (eth1). I'm
> currently using David Ranch's basic iptables script, with the same result
> for other iptables scripts.
sounds like eth1 might be faulty. just because you can ping it from
its own host means nothing. that would be using the loopback device
anyway.
> If I run tcpdump on the internal NIC, it show the packets hitting the eth1
> NIC from the internal machine.
are you running tcpdump from the internal machine, or the machine
with eth1? are they on the same link? what does this have to do with
masquerading? it sounds more like a routing/cable/nic problem.
> I'm at a loss. No error messages in log files and support for iptables
> built into the kernel.
are you sure everything unexpected is being logged?
> Any help would be greatly appreciated.
could you send a minimal iptables script that's performing
the internal masquerading and script output of the ping
attempts and tcpdump output (from the masquerading host)
and any more explanation of what you are trying to do?
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
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.