From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?Windows-1252?Q?Francisco_Andr=E9_Barbosa_Neto?= Subject: NAT Problems FTP (maybe a newbie question) Date: Wed, 19 Nov 2003 22:11:39 -0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <002201c3aefa$df26b9e0$0af2d3c8@admin1> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C3AEEA.1B49D670" 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_001F_01C3AEEA.1B49D670 Content-Type: text/plain; charset="Windows-1252" 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_001F_01C3AEEA.1B49D670 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hi all, I've installed Slackware 9.1 = in 2=20 diferent pc's, in 2 different clients. These machines are doing nat to = all the=20 internal network. I'm running only a single rule described below, but = when any=20 of the client machines try to connect to any ftp site, the connection = was ok but=20 when 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_001F_01C3AEEA.1B49D670--