netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iptables questions
@ 2002-11-26 23:33 james li
  2002-11-27  0:08 ` Joel Newkirk
  0 siblings, 1 reply; 7+ messages in thread
From: james li @ 2002-11-26 23:33 UTC (permalink / raw)
  To: netfilter

hi,

i am learning iptables through the HOWTO. there is one
command i am not sure. can someone explain it to me
please?

$IPTABLES -A FORWARD -i $LAN_IFACE -j ACCEPT

from author  'this rule will allow all traffic from
our $LAN_IFACE to any other interface to flow
freely,in other word,in other words allow all traffic
from our LAN to the Internet'. 

is there a default '-o eth+' in the above command that
is omitted ? should it better be 
$IPTABLES -A FORWARD -i $LAN_IFACE -o $INET_IFACE -j
ACCEPT

INET_IFACE as (internet_interface)


/James.Q.L

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 7+ messages in thread
* iptables questions
@ 2003-11-15 10:51 Antti Korpela
  2003-11-17 14:07 ` Jeffrey Laramie
  2003-11-18  1:12 ` William Stearns
  0 siblings, 2 replies; 7+ messages in thread
From: Antti Korpela @ 2003-11-15 10:51 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Hi,

I have here some questions and i hope you have some time to answer

1. What difference and which is better between: iptables -t nat -j MASQUERADE or SNAT --to IP if im using it for internet gateway NAT-machine in big LAN-parties, over 300 IP:s.
2. I have get this error often "too much work on eth0, dropping packet..." what this mean? do i have to put this on kernel:
echo "65000" > /proc/sys/net/ipv4/ip_conntrack_max ? is there any other solutions for this ?
3. Do you have some other tips for MASQ ? :)

Thanks for your time and support!

[-- Attachment #2: Type: text/html, Size: 1350 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-11-19 15:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 23:33 iptables questions james li
2002-11-27  0:08 ` Joel Newkirk
  -- strict thread matches above, loose matches on Subject: below --
2003-11-15 10:51 Antti Korpela
2003-11-17 14:07 ` Jeffrey Laramie
2003-11-17 14:18   ` Antony Stone
2003-11-19 15:32     ` Cedric Blancher
2003-11-18  1:12 ` William Stearns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).