Results 1 to 2 of 2
I had been running my SMTP server with WINE, as the SMTP server software is a Windows-based program (MERCURY), but I cracked the shits with WINE and removed it. Now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-16-2011 #1
- Join Date
- Mar 2011
Redirecting packets to a virtual machine with iptables
I had been running my SMTP server with WINE, as the SMTP server software is a Windows-based program (MERCURY), but I cracked the shits with WINE and removed it. Now I am running my SMTP server in a Windows virtual machine.
This virtual machine has a different IP address from my host machine, so what I need is for my computer (the host) to redirect incoming traffic on port 25 to the virtual machine at 192.168.56.101 on port 2525.
Can someone please help me with it? I think its done with iptables.
- 03-16-2011 #2
Your virtualizer (which one?) can probably portforward it.
It also depends on how the VM network is defined: private, NAT or bridged.
Other than that, your approach seems wrong.
Apart from the problem with dns ptr,
I think it is more straightforward to use a native unix smtp server such as sendmail, qmail, postfix, exim, etcYou must always face the curtain with a bow.