Rules PREROUTING doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux