/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */

I want to forward connections on port 1329 to an internal ftp server at 192.168.0.100 
on port 21.

the ip of the internal interface of my gateway is 192.168.0.0

my external interface is as 255.255.255.252 mask
internal is a 255.255.255.0 mask
ipchains 1.3.9

[root@dsl-ip scott]# ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source destination           ports
MASQ       tcp  ------  dsl-ip.mother.com/30 where 1329 ->  any
MASQ       all  ------  192.168.0.0/24 anywhere      n/a
Chain output (policy ACCEPT):

[root@dsl-ip scott]# ipmasqadm portfw -l
prot localaddr    rediraddr   lport    rport  pcnt  pref
TCP  dsl-ip.mother.com 192.168.0.100 1329 ftp 10 10

[root@dsl-ipscott]# lsmod
Module                  Size  Used by
vfat                    9408   0  (autoclean) (unused)
fat                    30432   0  (autoclean) [vfat]
nls_cp437               3952   1  (autoclean)
8139too                12064   2  (autoclean)
ip_masq_vdolive         1440   0  (unused)
ip_masq_cuseeme         1184   0  (unused)
ip_masq_quake           1456   0  (unused)
ip_masq_irc             1664   0  (unused)
ip_masq_raudio          3072   0  (unused)
ip_masq_portfw          2608   1 
ip_masq_ftp             4032   0 
supermount             14224   2  (autoclean)

I'm just getting connection refused. I don't know if there are logs I can check. Any 
ideas?
Thanks,
Scott Decker
PO Box 74141
Davis, CA. 95617                                  
_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to