LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   firewall port forwarding (https://www.linuxquestions.org/questions/linux-networking-3/firewall-port-forwarding-17511/)

manthram 04-01-2002 07:08 PM

firewall port forwarding
 
I have a problem with my port forwarding when it comes to internal network. I read the netfilter howto and did what they told me to do but it still doesnt work.

here is the line for the internal network port forwarding

iptables -t nat -A POSTROUTING -p tcp -d 10.10.1.2 --dport 143 \
-s 10.10.1.0/24 -j SNAT --to 10.10.1.1

here 10.10.1.1 is my NAT box, and 10.10.1.2 is running my IMAP server.

anybody coming to my rescue??????


All times are GMT -5. The time now is 06:16 AM.