I've set up a webserver that also serves as a mail server, only problem is that i currently dont have access to the webgui (just telnet) and need to set up "prerouting" or forwarding of port 25 to 192.168.X.X.
I've tried
iptables -I FORWARD 1 -p tcp -s 192.168.X.X --dport 25 -j ACCEPT
However, when i list nat, iptables -t nat -L I find no entry. What is the correct command to forward port 25 to X and how do i delete the one that i added?