Re: OT - IP Tables - forwarding to localhost

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



Igor Demjanenko napsal(a):
> Hi,
> 
> Try this:
> 
> iptables -t nat -A PREROUTING -p tcp -d old_mailserver_ip
> --destination-port 25 -j DNAT --to-destination 127.0.0.1:25
> 

Try: iptables -t nat -A PREROUTING -p tcp -d old_mailserver_ip
--destination-port 25 -j DNAT --to-destination 127.0.0.1

Please do note ":25" missing.
David
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux