From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Francisco_Andr=E9_Barbosa_Neto?= Subject: NAT Problems FTP (maybe a newbie question) Date: Wed, 19 Nov 2003 21:49:30 -0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <02ea01c3aef7$c6d4dd20$0af2d3c8@admin1> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02E7_01C3AEE7.031B3920" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_02E7_01C3AEE7.031B3920 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I've installed Slackware 9.1 in 2 diferent pc's, in = 2 different clients. These machines are doing nat to all the internal = network. I'm running only a single rule described below, but when any of = the client machines try to connect to any ftp site, the connection was = ok but when the user gives an ls command the server respond 500 ilegal = command. I've checked all the modules (one of the machines are = running with all the iptables code compiled internally into the kernel, = not as module) and all is ok.=20 What is poosible to happening in this case, could anybody = give some hint! Thak's! All my firewall is: iptables -F iptables -t nat -F iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0.0.0.0/0 -j SNAT = --to 200.X.X.X =20 ------------------------------------------------------ Francisco Andr=E9 Barbosa Neto fneto@connecton.com.br Connect On Internet Provider http://www.connecton.com.br Fone: 55-11-4655-2232 ------------------------------------------------------ ------=_NextPart_000_02E7_01C3AEE7.031B3920 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
       =20     Hi all, I've installed Slackware 9.1 in 2 = diferent pc's,=20 in 2 different clients. These machines are doing nat to all the internal = network. I'm running only a single rule described below, but when any of = the=20 client machines try to connect to any ftp site, the connection was ok = but when=20 the user gives an ls command the server respond 500 ilegal = command.
 
       =20     I've checked all the modules (one of the machines are = running=20 with all the iptables code compiled internally into the = kernel, not as=20 module) and all is ok.
 
       =20     What is poosible to happening in this case, could = anybody=20 give some hint!
 
       =20     Thak's!
 
All my firewall is:
 
iptables -F
iptables -t nat -F
 
iptables -t nat -A POSTROUTING -s = 192.168.0.0/24 -d=20 0.0.0.0/0 -j SNAT --to 200.X.X.X
       =20    
------------------------------------------------------
Franci= sco Andr=E9=20 Barbosa Neto
fneto@connecton.com.br
Conn= ect On=20 Internet Provider
http://www.connecton.com.br
F= one:=20 55-11-4655-2232
------------------------------------------------------=
------=_NextPart_000_02E7_01C3AEE7.031B3920--