Skip to contentSkip to conversation

ICQ file transfer => sending!

DISCUSSION Eric Marchionni 1 participant 1 message Aug 30, 2003

lore
Share & tools
lore
#0 lore raw

hi

thx to the following lines i'm anle to receive files with icq (i had to tell my icq-client the incomming ports):

# portforwarding ICQ Filetransfer
iptables -A FORWARD -i $WAN_IFACE -p tcp --dport 2010:2030 \
-j ACCEPT
iptables -t nat -A PREROUTING -i $WAN_IFACE -p tcp \
--dport 5010:5030 -j DNAT --to-destination $ICQ_CLIENT

but unfortunately i'm still not able to send files, though i have rules like:
iptables -A FORWARD -i $LAN_IFACE -o $WAN_IFACE -j ACCEPT iptables -t nat -A POSTROUTING -o $WAN_IFACE -j MASQUERADE

anybody got an idea?
-eric