{ "numMessagesInTopic": 19, "nextInTime": 594, "senderId": "wFdwXBvkL54k4OnWvFx2SEyh-arzvdORpNQSTzYNzQz_IZ2xOJQ4ZUkYgVILhcS82e5tSG7QhUKxM-lzyWw5YeOmwC25ZB_6LA", "systemMessage": false, "subject": "Re: IP Forwarding FTP help", "from": ""besandy2003" <bsandyjr@...>", "authorName": "besandy2003", "msgSnippet": "I got this fixed and decided to post the fix as there was no clear definition of how to do so from the past. 1. I created a new folder in /SA2/firewall folder", "msgId": 593, "profile": "besandy2003", "topicId": 578, "spamInfo": { "reason": "0", "isSpam": false }, "replyTo": "LIST", "userId": 150177782, "messageBody": "
> I decided to disable the FTP server that is on the SG20 and use mysame
\n> old FTP Server. It resides on IP address 192.168.1.4 and uses the
\n> default port 21. I have not been able to make the connection thus
\n> far. I read through the archives found a few references to the
\n
> problem but there was never a solution given. Below are myACCEPT
\n> IPtables, if anyone has any suggestions I would appreciate it. I
\n> have lost alot of sleep over this one...
\n>
\n>
\n> $IPTABLES -A PREROUTING -t nat -p tcp --dport 21 -j DNAT --to
\n> 192.168.1.4:21
\n> $IPTABLES -A FORWARD -i $EXTIF -o $INTIF -p tcp --dport 21 -j
\n
> $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -p tcp --sport 21 -jACCEPT
\n
> $IPTABLES -A INPUT -p tcp -i $EXTIF -d $EXTIP --dport 21 --sport
\n> 2000:2200 -j ACCEPT
\n> $IPTABLES -A OUTPUT -p tcp -o $EXTIF -s $EXTIP --sport 2000:2200 --
\n> dport 2000:2200 -j ACCEPT