Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    connections in virtual machine getting dropped

    ... so I've forwarded incoming connections on port 25 to my virtual machine with the following commands:

    sudo iptables -t nat -A PREROUTING -p tcp -i eth0 -d --dport 25 -j DNAT --to

    sudo iptables -A FORWARD -p tcp -i eth0 -d --dport 25 -j ACCEPT
    The strange thing is the connections coming through in the virtual machine seem to be getting dropped. A port scan from the internet says the port is closed, but it is not the case as I can see the connection coming through.
    As you've probably worked out, I am running a mail server. When I send myself test mail, the connections from the senders mail server also gets dropped.

    Anyone ever had this experience before or has a clue whats going on?

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    How did you have your VM network setup?
    Virtual network or Shared device?


    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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