* Can't get port forwarding DNAT to work
@ 2003-12-08 1:14 Evan Harper
[not found] ` <200312111329.57484.Alistair Tonner <>
0 siblings, 1 reply; 2+ messages in thread
From: Evan Harper @ 2003-12-08 1:14 UTC (permalink / raw)
To: netfilter
I have a few machines on a LAN connected to the internet via a gateway
server with a DSL connection. I have packet filtering and IP masq up and
running with no problems -- the internal machines can connect out to the
Internet and everything is good. However I've been trying for a while
now to forward port 25 to a mail server inside the LAN with absolutely
no luck. The relevant rc.firewall line is:
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 25 -j DNAT --to
192.168.0.4:25
# forward smtp traffic to mail server
Everything looks normal except that packets sent from outside the
network to port 25 just fall into a black hole. I've fiddled with the
options for a while, changing nothing. Help would be much appreciated.
Evan Harper
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-12 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 1:14 Can't get port forwarding DNAT to work Evan Harper
[not found] ` <200312111329.57484.Alistair Tonner <>
2003-12-12 17:50 ` Evan Harper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.