Linux Netfilter discussions
 help / color / mirror / Atom feed
* A problem - connections dies
@ 2003-05-27 20:37 Peter Pohlmann
  0 siblings, 0 replies; only message in thread
From: Peter Pohlmann @ 2003-05-27 20:37 UTC (permalink / raw)
  To: netfilter

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

Hello list,

I have a problem with my masquerading. 
Can someone supply me a basic configuration. I want to have the private network
open for everything. 

The current rules are below. Works for pop ,http etc. But ftp is not proper and connecting to an outside 
smtp server is a problem too. I can send very small emails but if some larger email or attachment it stops after transferring some kbs.  What am I missing here ?  The server is redhat 9 pppoe to the dsl modem.

#!/bin/sh

modprobe ip_conntrack_ftp
modprobe iptable_nat
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

echo 1 >/proc/sys/net/ipv4/ip_forward
echo 1 >/proc/sys/net/ipv4/ip_dynaddr

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Thank you in advance,
Peter




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

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

only message in thread, other threads:[~2003-05-27 20:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 20:37 A problem - connections dies Peter Pohlmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox