netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Rules PREROUTING doesn't work
@ 2010-03-17  3:27 Angel Motta
  2010-03-17  6:21 ` Michele Petrazzo - Unipex
  2010-03-17 13:14 ` Robert Nichols
  0 siblings, 2 replies; 14+ messages in thread
From: Angel Motta @ 2010-03-17  3:27 UTC (permalink / raw)
  To: netfilter

Hi List
This is my first time the I write to this list. I have a problem case
with rules PREROUTING.
I am creating a rule PREROUTING from a range of port which request
openvpn client and the problem is that when I apply this rules and
only rules NATs are runing (PREROUTING and POSTROUTING the output of
#> iptables -L is blank) the clients openvpn still conect to the
Firewall and not to the SERVERVPN, all requests are processed for
firewall.

this is the rule:
$IPT -t nat -A PREROUTING  -i $IF_EXT -d $TESTVPN -p udp --dport
5000:6000 -j DNAT --to-destination $IP_DMZ_SERVERVPN

Note:
Where IPT is the bin of iptables, $IF_EXT es my external interface,
TESTVPN is a public IP and IP_DMZ_SERVERVPN es my new openvpnserver.

Some tips for this rare case?
I am using Centos 5.4 in my firewall.

Thanks for your assistance.
-- 
Atte
Angel Motta Paz

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

end of thread, other threads:[~2010-03-19  8:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17  3:27 Rules PREROUTING doesn't work Angel Motta
2010-03-17  6:21 ` Michele Petrazzo - Unipex
2010-03-17 13:14 ` Robert Nichols
2010-03-17 13:20   ` Jan Engelhardt
2010-03-17 15:20     ` Angel Motta
2010-03-17 20:25       ` Richard Horton
2010-03-18  0:20         ` Robert Nichols
2010-03-18  1:14           ` Jan Engelhardt
2010-03-18  4:48             ` Robert Nichols
2010-03-18  5:53               ` Angel Motta
2010-03-18 11:15                 ` Mart Frauenlob
2010-03-18 15:36                   ` Angel Motta
     [not found]                     ` <1268931387.3763.31.camel@casper.meteor.dp.ua>
2010-03-19  5:11                       ` Angel Motta
2010-03-19  8:01                         ` Mart Frauenlob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).