Author Topic: amsn file transfer help  (Read 1036 times)

Commander

  • Member
  • **
  • Posts: 242
  • Kudos: 52
amsn file transfer help
« on: 10 September 2003, 02:46 »
i did upgrade to the latest version.  but i can;t get any files through.  (in or out).  i know it;s a problem with my iptables setup.  i was wondering if someone could help me setup my iptables to accept packets from ports 6891..6895, or point me to a tutorial that would give a detailed info about how to do it as i have never played around with this before.

thanx
Ballmer needs a firm kick in the ass.... (since he has no balls)

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
amsn file transfer help
« Reply #1 on: 10 September 2003, 04:13 »
I assume you're asking how you can allow packets to ports 6891-6895.

Do you have an iptables script somewhere? Just add this line at the top:

iptables -A INPUT -p tcp --destination-port 6891:6895 -j ACCEPT

If you did mean from thos ports it would be

iptables -A INPUT -p tcp --source-port 6891:6895 -j ACCEPT
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Commander

  • Member
  • **
  • Posts: 242
  • Kudos: 52
amsn file transfer help
« Reply #2 on: 10 September 2003, 07:09 »
what exactly do u mean by the iptables script.  i was told to add
"-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6891:6895 --syn -j ACCEPT"
in my iptable.  so i opened /etc/sysconfig/iptables and added that.  it didn;t make a difference.  the file transfer still fails.

where do i add these two lines?  or do i have to write a script on my own?

iptables -A INPUT -p tcp --destination-port 6891:6895 -j ACCEPT

iptables -A INPUT -p tcp --source-port 6891:6895 -j ACCEPT

[EDIT]
now i can send out files.  but i can't recieve any.  it says it can;t connect to the peer (or something along that line)

any help?

[ September 09, 2003: Message edited by: Commander ]

Ballmer needs a firm kick in the ass.... (since he has no balls)

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
amsn file transfer help
« Reply #3 on: 11 September 2003, 02:24 »
Ok ignore the lines I gave you, that line you added to /etc/sysconfig/iptables will do it. It may be that you're adding the line in the wrong place. Can you paste the contents of /etc/sysconfig/iptables?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Commander

  • Member
  • **
  • Posts: 242
  • Kudos: 52
amsn file transfer help
« Reply #4 on: 11 September 2003, 08:03 »
here's what i have in there
Code: [Select]
Ballmer needs a firm kick in the ass.... (since he has no balls)

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
amsn file transfer help
« Reply #5 on: 11 September 2003, 17:20 »
What you have there should do it. Did you re-read the firewall rules with 'iptables-restore /etc/sysconfig/iptables'?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


Commander

  • Member
  • **
  • Posts: 242
  • Kudos: 52
amsn file transfer help
« Reply #6 on: 12 September 2003, 03:39 »
i just ran the iptables restore command and now the file transfer works!!  thanks a lot flap!  i owe ya 1 !!  :D
Ballmer needs a firm kick in the ass.... (since he has no balls)