Linux Netfilter discussions
 help / color / mirror / Atom feed
* port redirect for local host
@ 2003-09-02  5:00 Michael Robinton
  2003-09-03 10:54 ` Ralf Spenneberg
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Robinton @ 2003-09-02  5:00 UTC (permalink / raw)
  To: netfilter


I have a relatively simple redirect that does not seem to work for the
local host. I'm running a DNSBL on a virtual IP address on a host that
already has a DNS daemon running.

entry is...

$IPTABLES -t nat -A PREROUTING -p tcp -d $DNSBL_IP --dport 53 -j REDIRECT
--to-port $DNSBL_PORT

this works fine from both the network (internet) and from the interfaces
on the private side. eth1, eth0

I does not work at all from the local host and no amount of tweaking of
the rule set seems to help.

I've tried about every DNAT combination I can think of.

Any suggestions??

Michael




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

end of thread, other threads:[~2003-09-03 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-02  5:00 port redirect for local host Michael Robinton
2003-09-03 10:54 ` Ralf Spenneberg

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