Knowledgebase

apf and preroute

Posted by gate2vn, 01-11-2010, 09:34 PM
I tried to put a port forwarding iptables command in preroute.rules in apf, but it is not working. The command is just fine, cause if I turn off apf, then run iptables command only, the port forwarding is working. I tried to change apf settings, but no luck. Any comment please? Thanks.

Posted by LeaTrueman, 01-12-2010, 12:59 AM
Hello, Please paste the steps that you have done. Can you try this rule # redirects incoming traffic on port 2343 to 80 $IPT -t nat -A PREROUTING -p tcp --dport 2343 -i eth0 -j REDIRECT --to-port 80 in /etc/apf/firewall



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Managed.com Down (Views: 605)
Sonataweb (oooh) (Views: 611)


Language:

Client Login

Email

Password

Remember Me

Search