nex_tym Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 29 Jul 2003 Posts: 211
|
Posted: Thu Oct 16, 2003 6:07 am Post subject: vmware and iptables |
|
|
Set up vmware with NAT. I couldnt mount anything since iptables was of course blocking it. Accessing the internet from the virtual machine worked fine though. So, I added these two lines to my iptables script (a generated one from a link I got from here)
$IPT -A INPUT -p ALL -s 192.168.187.128 -j ACCEPT
$IPT -A OUTPUT -p ALL -d 192.168.187.128 -j ACCEPT
Can ping and mount shares, etc. So basically that is allowing everything to and from the virtual machines IP? My question is does that seem safe? Really dont know a whole lot but seems like if somehow somebody pretends to be 192.168.187.128 they would have access. Is there a better way to do this?
thanks |
|