Linux Netfilter discussions
 help / color / mirror / Atom feed
* Local rule for Port Forward
@ 2003-04-25 16:45 Patrick Nelson
  2003-04-25 21:12 ` David Gaudine
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Nelson @ 2003-04-25 16:45 UTC (permalink / raw)
  To: Netfilter List

RH72 with iptables v1.2.5-3

I'm doing port forwarding to a server that runs jabber and everything
works fine, I did notice that if I bring up a jabber client on the
firewall itself I do not get connected.  While this isn't really
needed... I don't totally understand why it doesn't work.  Being
inquisitive... well I just gots to know why!  Can anyone shed some
light?

My rules for the jabber port forward are:

iptables -A FORWARD 
         -i $ExIF -d $JabIP -p tcp --dport $JabPort 
         -j ACCEPT
iptables -A PREROUTING 
         -t nat -d $ExIP -p tcp --dport $JabPort
         -j DNAT --to-destination $JabIP
iptables -A POSTROUTING
         -t nat -d $JabIP -p tcp --dport $JabPort
         -j SNAT --to-source $InIP




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

end of thread, other threads:[~2003-04-30 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-25 16:45 Local rule for Port Forward Patrick Nelson
2003-04-25 21:12 ` David Gaudine
2003-04-26  8:05   ` Patrick Nelson
2003-04-26 15:44     ` Brad Morgan
2003-04-26 17:35       ` Andy Wood
2003-04-30 21:04         ` Patrick Nelson
2003-04-30 17:58           ` Problems removing rules Maurício S. Mudrik

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