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 #1
- Join Date
- Mar 2011
connections in virtual machine getting dropped
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?
The adventure of a life time.
Linux User #296285