OpenVZ Forum


Home » General » Support » how to open a range of IPs?
Re: how to open a range of IPs? [message #30913 is a reply to message #30699] Tue, 10 June 2008 09:30 Go to previous messageGo to previous message
zenny
Messages: 48
Registered: November 2006
Member
I tried with this:

#iptables -t nat -A PREROUTING -p tcp -d xxx.yyy.zzz.aaa --dport 80 -j DNAT --to-destination 192.168.9.1-10.168.9.250

where xxx.yyy.zzz.aaa is the external IP of the HN. Yet I could not access the embedded http server in IP phones nor any other machines with 192.168.9.0/24 range from outside.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem using veth
Next Topic: setlocale not working properly in perl script
Goto Forum:
  


Current Time: Wed Aug 28 03:14:27 GMT 2024

Total time taken to generate the page: 0.08089 seconds