OpenVZ Forum


Home » General » Support » routing problem
Re: routing problem [message #29850 is a reply to message #29849] Sat, 26 April 2008 16:08 Go to previous messageGo to previous message
maser is currently offline  maser
Messages: 3
Registered: April 2008
Location: London
Junior Member
This file doesn't exist, also they used to work just fine just suddenly they got messed up. I have made now a plan by setting all the virtual servers to use 192* IP's and by using iptables to route them like:

[root@santrex ~]# iptables -t nat -A POSTROUTING -s 192.168.22.43 -o eth0 -j SNAT --to 66.90.88.228
[root@santrex ~]# iptables -t nat -A PREROUTING -d 66.90.88.229 -i eth0 -j DNAT --to-destination 192.168.22.44

now that I have done that, it did fix my problem. But on the other hand I wanted to be using the real ips ofcourse but it didnt seem to work as they work 1 hour and another hour don't
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Quota problem in cpanel vps
Next Topic: fuse can not be used in containers after fuse-2.7.3 is installed in Hardware Node
Goto Forum:
  


Current Time: Sat Nov 16 19:14:52 GMT 2024

Total time taken to generate the page: 0.03044 seconds