Linux Netfilter discussions
 help / color / mirror / Atom feed
* whats wrong???
@ 2005-06-28 16:40 Juan Manuel Tato
  2005-06-28 17:32 ` Vlad Janicek
  2005-06-30 10:43 ` Jan Engelhardt
  0 siblings, 2 replies; 5+ messages in thread
From: Juan Manuel Tato @ 2005-06-28 16:40 UTC (permalink / raw)
  To: netfilter

hi, i'm configuring a firewall, and i need some port forwarding
to ip 192.168.100.1 from my public ip.
but isn't working....
where come the output of the chains

fw-new:~# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
ACCEPT     all  --  192.168.100.1        0.0.0.0/0
ACCEPT     all  --  192.168.100.2        0.0.0.0/0
ACCEPT     all  --  192.168.100.3        0.0.0.0/0
ACCEPT     all  --  192.168.100.4        0.0.0.0/0
ACCEPT     all  --  192.168.100.5        0.0.0.0/0
ACCEPT     all  --  192.168.100.6        0.0.0.0/0
ACCEPT     all  --  192.168.100.7        0.0.0.0/0
ACCEPT     all  --  192.168.100.8        0.0.0.0/0
ACCEPT     all  --  192.168.100.9        0.0.0.0/0

badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x3F/0x29
badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x3F/0x3F
badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x3F/0x37
badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x3F/0x00
badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x06/0x06
badflags   tcp  --  0.0.0.0/0            0.0.0.0/0           tcp 
flags:0x03/0x03
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 0
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 3
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 11
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 8 
limit: avg 1/sec burst 5
firewall   icmp --  0.0.0.0/0            0.0.0.0/0
ACCEPT     tcp  --  192.168.100.0/24     0.0.0.0/0           tcp dpt:22
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:80
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:25
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:25
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:110
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:110
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:143
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:143
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state 
RELATED,ESTABLISHED
silent     udp  --  0.0.0.0/0            0.0.0.0/0           udp spt:137 
dpt:137
dropwall   all  --  0.0.0.0/0            0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
DROP       all  --  0.0.0.0/0            0.0.0.0/0           state 
INVALID,NEW
ACCEPT     tcp  --  0.0.0.0/0            192.168.100.1       tcp dpt:80
ACCEPT     udp  --  0.0.0.0/0            192.168.100.1       udp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            192.168.100.1       tcp dpt:25
ACCEPT     udp  --  0.0.0.0/0            192.168.100.1       udp dpt:25

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain badflags (6 references)
target     prot opt source               destination
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 
15/min burst 5 LOG flags 0 level 4 prefix `Badflags:'
DROP       all  --  0.0.0.0/0            0.0.0.0/0

Chain dropwall (1 references)
target     prot opt source               destination
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 
15/min burst 5 LOG flags 0 level 4 prefix `Dropwall:'
DROP       all  --  0.0.0.0/0            0.0.0.0/0

Chain firewall (1 references)
target     prot opt source               destination
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 
15/min burst 5 LOG flags 0 level 4 prefix `Firewall:'
DROP       all  --  0.0.0.0/0            0.0.0.0/0

Chain silent (1 references)
target     prot opt source               destination
DROP       all  --  0.0.0.0/0            0.0.0.0/0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-30 10:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-28 16:40 whats wrong??? Juan Manuel Tato
2005-06-28 17:32 ` Vlad Janicek
2005-06-28 18:04   ` Juan Manuel Tato
2005-06-29  1:09     ` Vlad Janicek
2005-06-30 10:43 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox