OVH Community, your new community space.

Nutzung der ftp backup-server (Vmware aus Backups erstellen)


Ictdude
29.01.09, 19:00
Zitat Zitat von kro
Ictdude wrote:
> iptables -t nat -A POSTROUTING --source --match iprange
> --dst-range -j SNAT --to


geradeeben nochmal getestet: bei mir funktioniert das so.

Bist du dir denn sicher dass du die 3 Variablen richtig ersetzt hast? welcher
ist dein backup-ftp? und was ist deine failover-IP?
--
Felix
OVH Team
Real strange. I do exactely as you say. I see the ftp login.
Welcom on ftpback3.ovh.net

The it ask for my user name. When i then type my password it gives error:

Password:
530 Login authentication failed

I did test the password with my real IP no problem !? Like the password is wrong but it is ok !? What can this be ? I use the command in my Debian host where the VMs are running. Is that the mistake ? Dont think so ?

What command can check if the Nat routing is ok ? So i can diagnose ?
I have Webmin installed.

> iptables -t nat -A POSTROUTING --source --match iprange
> --dst-range -j SNAT --to

kro
29.01.09, 12:42
Ictdude wrote:
> iptables -t nat -A POSTROUTING --source --match iprange
> --dst-range -j SNAT --to


geradeeben nochmal getestet: bei mir funktioniert das so.

Bist du dir denn sicher dass du die 3 Variablen richtig ersetzt hast? welcher
ist dein backup-ftp? und was ist deine failover-IP?
--
Felix
OVH Team

Ictdude
28.01.09, 22:41
I have a problem with making backups from the Vmmachine to the
OVHFtp_backup. When i try to connect to the ftpbackup i get a error.

So the ftpbackup must see the Ip of the real server. If not it will reject.
It should be done by using Linux NAT.

Must me something that that nat routing is not ok.

My setup looks like this: For Vmmachine to connect in and out

For Vmnet1 Hostonly (I use FOIP)

iptables -t nat -A POSTROUTING -o eth0 -s (VMAchine) -j SNAT -–to (FOIP)

iptables -t nat -A PREROUTING -i eth0 -d (FOIP) -j DNAT –-to (VMAchine)

I did try the OVH procedure to connect Vm to Ftpbackup, it just dont work ?

OVH Explanation:

Die ftpback-Server erlauben nur Verbindungen von der Haupt-IP Ihres Servers, von failover-IPs ausgehende Logins werden abgelehnt. Falls Sie von Ihren VPS aus Backups erstellen möchten, können Sie mittels iptables die Absender-Adresse? der IP-Pakete ändern:

iptables -t nat -A POSTROUTING --source --match iprange --dst-range -j SNAT --to

Please help