[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ipchains && ipmasdadm problems



hello group i have a problem with this .

my exter net is 194.55.233.7 is it on eth0:3 
and i want to make a portforarding to 192.168.2.7 

my ipchains rules are

ipchains -v -A input -s 0/0 -d 194.55.233.7 telnet  -j ACCEPT -l -i
eth0:3 -l

ipchains -P forward DENY  

ipchains -v  -A forward -s 192.168.2.0/24 -j MASQ -l


/usr/sbin/ipmasqadm portfw  -f
/usr/sbin/ipmasqadm portfw -a -P tcp  -L 194.55.233.7  23  -R
192.168.2.7 23
/usr/sbin/ipmasqadm portfw  -a -P tcp  -L 194.55.233.7 80  -R
192.168.2.7 80

in netstat -t -M 
prot   expire source               destination          ports
tcp   0:58.72   test.server.de   194.55.233.7         telnet -> 33666
(telnet)


but the client get no connection! 

can anyone help me?


-- 

cu thomas
    
PGP DSS Key fingerprint = B4 9F 55 F6 D4 5D 0F 31  95 8E E0 8C 1E 9F 49
E1  23 5D 8C 3D

########################################################################
#                                                                      #
#  Linux is like a Wigwam:             Thomas Braun                    #
#  No Gates, no Fences and             Hammer GmbH & Co. KG            #
#  an Apache inside !  :-)             Charlottenburger Allee 33       #
#  -----------------------             52068 Aachen                    #
#                                      Tel: +49(0)241-9665-188         #
#                                      Fax: +49(0)241-9665-189         #
########################################################################



Reply to: