Next-in-Thread Next Message Previous Message Next Thread

Sad: kernel 2.1.130 Help me ?

Forum: Linux IP NAT Forum
Date: Sat, 26 Dec 1998 21:20:54 GMT
From: <sif95038@mailcity.com>

I wanto translate all traffic going to port 80 become traffic for port 80

I use rules:

$ipnatadm -W eth0 -O -P all -i -D zoel/32 80 1 -N zoel/32 21

$ipnatadm -W eth0 -I -P all -i -S zoel/32 21 -M zoel/32 80

then

$cat /proc/net/ip_nat

IP NAT rules id prot src/msk -> dst/msk src-new/msk:port dst-new/msk:port dev ip flag #s-ports #d-ports packets bytes ports(src+dst) 1 0 00000000/00000000->CB82F08A/FFFFFFFF 00000000/00000000:0 CB82F08A/FFFFFFFF:21 eth0 00000000 2 0 2 0 0 80 1 0 0 0 0 0 0 0 0 2 0 CB82F08A/FFFFFFFF->00000000/00000000 CB82F08A/FFFFFFFF:80 00000000/00000000:0 eth0 00000000 1 1 0 0 0 21 0 0 0 0 0 0 0 0 0

So I got upset ,since now other machine cannot telnet to my machine at port 80 ! But they still can ping my machine ! I use kernel 2.1.130 !

Why ? Somebody help me please ?

Next-in-Thread Next Message Previous Message Next Thread

Messages Inline: 1 All Outline: 1 2 3

1. More: how to debug NAT connections by Michael Hasenstein, 1/04/99

to: "kernel 2.1.130 Help me ? "

Subscribe Membership Move/Remove Admin Mode Help for HyperNews 1.9.5