This was to get my ftp client communicate with remote server.
Someone answered me directly.
Thank you for your help.
--Laurent
----- Original Message -----
From: Jose M. Sanchez <[EMAIL PROTECTED]>
To: Laurent <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; David A. Ranch <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 19, 1999 11:55 PM
Subject: Re: [Masq] ftp ports
>His message is fairly unclear...
>
>Maybe what he is really asking is how to get his ftp client to communicate
>with a remote server on 8654, not move his own server to that port...
>
>-JMS
>[EMAIL PROTECTED]
>
>----- Original Message -----
>From: David A. Ranch <[EMAIL PROTECTED]>
>To: Laurent <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Friday, March 19, 1999 2:29 PM
>Subject: Re: [Masq] ftp ports
>
>
>>
>> >If someone could tell me how to access ftp running on port other than 21
>(like
>> >8654), this will help me a lot !
>>
>> This is pretty simple:
>>
>> - Edit the /etc/services file and change ftp/21 to whatever port you want
>> say 8654. Do NOT renumber port 20.
>>
>> - Run a "ps aux | grep inetd" and get the process ID (PID) of ident
>>
>> - Run "kill -HUP #" where # is the PID
>>
>> Thats it.. it will reload Inetd and then respond to FTP requests on port
>8654
>>
>> NOTE: Many firewalls out there expect to see FTP traffic on ports <
1024.
>> Because of this, you will find that FTP might not work properly.
>>
>>
>> >Also i've seen David A. Ranch saying IPAUTOFW sucks. But I'm using it
>because
>> >I need forwarding a great number of ports (2000-4000) in order to play
>most
>> >games. Anyone knows another way to do this ?
>>
>> This is true. :) The solution is to use a simple loop in your
>> /etc/rc.d/rc.firewall
>> ruleset. Say you want to portfw ICQ ports 2000-2020 and:
>>
>> $extip is set as your external IP address
>> $fwip is set as your to-be-forwarded address
>>
>> --
>>
>> i=2000
>> while [ $i -lt 2021 ]
>> do
>> /usr/local/sbin/ipportfw -A -t$extip/$i -R $fwip/$i
>> export i=`expr $i + 1`
>> done
>>
>> --
>>
>> I beleive this can be done cleaner in a FOR loop but I just whipped this
>out.
>>
>> --David
>>
>.--------------------------------------------------------------------------
-
>-.
>> | David A. Ranch - Linux/Networking/PC hardware
>[EMAIL PROTECTED] |
>>
> ----!
>> `----- For more detailed info, see
>http://www.ecst.csuchico.edu/~dranch -----'
>>
>>
>> _______________________________________________
>> Masq maillist - [EMAIL PROTECTED]
>> http://tiffany.indyramp.com/mailman/listinfo/masq
>> Admin requests can be handled by web (above) or
>[EMAIL PROTECTED]
>
>
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]