[prev in list] [next in list] [prev in thread] [next in thread] 

List:       licq-main
Subject:    Re: [Licq-main] Port Forwarding in order to transfer files
From:       "Gord Mc.Pherson" <gordzilla () sprint ! ca>
Date:       2000-04-04 12:48:24
[Download RAW message or body]

Hi Zoltan,

On Fri, 31 Mar 2000, Zoltan Olah wrote:

> Hi. I've got a firewall/dialup masq box. I've set up portfwd on it to
> forward TCP/UDP ports 6001-6004 to my box in my internal firewall. In the
> network tab i've said "i'm behind a firewall/proxy", put in the address of
> the firewall, and set a range for "I can recieve direct connections". Are
> direct messages and file transfers meant to work like this? Because they
> don't. Any help would be appreciated.

Unless you're actually running LICQ on the firewall machine (and I don't
think you are). Your forwarding the wrong ports. Here's what you want to
do on your firewall machine:

---(cut here)---

# Enable port forwarding for ICQ Client
#
port=2000
while [ $port -lt 2020 ]
do
  /usr/sbin/ipmasqadm portfw -a -P tcp -L $xnet $port -R 192.168.1.2 $port
  port=$((port+1))
done
/usr/sbin/ipmasqadm portfw -a -P udp -L $xnet 4000 -R 192.168.1.2 4000

---(cut here)---

This script will forward tcp ports 2000-2020 and udp port 4000 to your
machine inside the firewall. Note $xnet is the ip address issued to you by
your ISP and 192.168.1.2 should be changed to the ip address of the
machine that you are running LICQ on.

Now as for setting in LICQ itself:

- Default Server Port: 4000
- Check "I am behinf a firewall/proxy"
- Firewall/Proxy Host: 192.168.1.1 (change this to the IP address *YOU*
  assigned the firewall machine.
- Check "I can receive direct connections"
- Port Range: AUTO
          to: None


  That's it! You should be able to fire up LICQ on your machine and have
it connect to an ICQ server through your firewall machine.
                                                                  _ 
---                                                              (o-     
Gord Mc.Pherson    icq: 52501580   e-mail: gord@linuxfan.com     //\ 
                   website: http://linux101.penguinpowered.com   V_/_

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic