Results 1 to 2 of 2
... 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 10.1.1.3 --dport ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-17-2011 #1Banned
- Join Date
- Mar 2011
- Posts
- 8
connections in virtual machine getting dropped
... so I've forwarded incoming connections on port 25 to my virtual machine with the following commands:
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.sudo iptables -t nat -A PREROUTING -p tcp -i eth0 -d 10.1.1.3 --dport 25 -j DNAT --to 192.168.56.101:25
sudo iptables -A FORWARD -p tcp -i eth0 -d 192.168.56.101 --dport 25 -j ACCEPT
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?
- 03-17-2011 #2
How did you have your VM network setup?
Virtual network or Shared device?


Reply With Quote
