Find the answer to your Linux question:
Results 1 to 4 of 4
hello, I have a lan with an iptables/nat users can download/upload/ftp/smtp/chat, .. they can use yahoo messenger as well, they also can recieve files from other ymess users but they ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    417
    417 is offline
    Just Joined!
    Join Date
    Aug 2007
    Posts
    2

    File send problem with iptables/nat


    hello, I have a lan with an iptables/nat

    users can download/upload/ftp/smtp/chat, ..
    they can use yahoo messenger as well, they also can recieve files from other ymess users

    but they can not send any files!

    can u help me?

    here is my script:


    # Set default policies
    $IPTABLES -P INPUT ACCEPT
    $IPTABLES -P OUTPUT ACCEPT
    $IPTABLES -P FORWARD ACCEPT

    # Accept the packets we actually want to forward
    $IPTABLES -A FORWARD -i $LAN_IFACE -j ACCEPT
    $IPTABLES -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

    # Enable simple IP Forwarding and Network Address Translation
    $IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j SNAT --to-source $INET_IP

    tanx

  2. #2
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    As far as your Iptables script is concerned, there is nothing tricky in it to block any traffic.
    It by default, takes in and sends out any traffic.

    but they can not send any files!
    Do you mean to say that file-upload could not occur through yahoo messenger or thro' other file transfer applications?

    Can you be some more clear?
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  3. #3
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Hey,
    I guess its not a iptables problem. Can they send files from there mail accounts?. What is file size you are trying to send as there might be some limit set on yahoo servers for maximum file size limit.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  4. $spacer_open
    $spacer_close
  5. #4
    417
    417 is offline
    Just Joined!
    Join Date
    Aug 2007
    Posts
    2
    Solved!

    As you told there was no problem with iptables, this is a problem with GAIM, I can not send files from latest version of Ymessenger (windows) to Gaim.

    I checked koppete, and it works fine.

    thank you all.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •