2004-01-23, 07:29 PM
A local ISP blocks port 25 so mail users cannot use my smtp server. I need to redirect port 2525 to 25 so my users can bypass this.
Ive done this on bsd servers but cant get it to stick with iptables on linux. I have use different variations but here is one of the commands i have tried:
iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 2525 -j REDIRECT --to-port 25
any help would be most appreciated.
cool beans.
questorX