Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware and iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nex_tym
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 211

PostPosted: Thu Oct 16, 2003 6:07 am    Post subject: vmware and iptables Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum