About this list Date view Thread view Subject view Author view Attachment view

From: Abdrashitov Dmitry (adk_at_moris.ru)
Date: Mon 21 Feb 2005 - 06:41:42 GMT


Hello!
I want give my virtual server private ip-address : 10.0.0.32
System - Debian Woody
And this is rules from NAT table:

****
## this is working
iptables -t nat -A POSTROUTING -p tcp -o eth0 -s 10.0.0.0/26 -j SNAT
--to-source $real_ip

## but this is not working
iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 -d domain1.ru --dport
10000 -j DNAT --to 10.0.0.32:10000
***

$real_ip - external ip-address

domain1.ru have $real_ip address in provider's DNS

How does that must work?

Dmitry

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 21 Feb 2005 - 06:42:06 GMT by hypermail 2.1.3