Hello,
I have proxmox 3 installed on a server with about 10 VMs. So far i've installed postfix on all of the VMs. Wouldn't it be better to install postfix only on the host and have the VMs send email via the host?
Or is it better to create on VM with postfix running and all the other VM use it...
Hello Nashwan,
I havent been able to find a clean way to do it. I only use the internal IP approach which does the job. If anybody reads this, i'm still interested in finding a solution. Thanks!
FYI, here is the netstat command:
# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 2763713 605/master
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN...
Hello Wolfgang,
Thanks for your interest. Here is what I put (on the host):
iptables -t nat -A POSTROUTING -o eth1 -s 192.168.15.20/23 -j MASQUERADE
iptables -t nat -A POSTROUTING -o vmbr0 -s 192.168.15.20/23 ! -d 192.168.15.20/23 -j SNAT --to-source public_ip
Then I rerouted all incoming...
Hello,
Here is my config:
* my proxmox host is set on *public_ip*
* my vm1 contains a gitlab up and running with source code for project1
* my vm2 contains a test version of project1
I rerouted all traffic to *public_ip* port 2222 to vm1 port 22 => I can therefore pull the code from gitlab...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.