Find the answer to your Linux question:
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.
  1. #1
    Banned
    Join Date
    Mar 2011
    Posts
    8

    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.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,441
    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, etc
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •