Guest-Host Connection in Vmware through Firestarter

Following my previous post on VPNC, after modifying the user-pre file in Firestarter, it somehow screws-up my guest-host connections in Vmware. The host, running on Ubuntu 8.04, no longer be able to connect to it guests, and vice-versa. The following is what I did to make the connection works. I had to post this up for future reference, just in case I forgot.

1. Edit /etc/firestarter/user-pre . First, make the file writable:
sudo chmod 600 /etc/firestarter/user-pre

2. Edit the file:
sudo gedit /etc/firestarter/user-pre

3. Copy the following to the file:
$IPT -A INPUT -i vmnet+ -j ACCEPT
$IPT -A OUTPUT -o vmnet+ -j ACCEPT

4. Save the file and close.
5. Change the user-pre file permission back to the way it was:
sudo chmod 440 /etc/firestarter/user-pre

6. Restart Firestarter:
sudo /etc/init.d/firestarter restart

Now the connection is restored. Both the guest and host can share files, access the web servers, etc.

Related Posts:

6 Comments

fadzli

i wonder why before this you hesitate to do blogging while actually you have tons of idea, knowledge to share…

well done nazham… 🙂

Oliver

thanks for the useful tip

any idea how to stop it logging profusely. it seems to overwrite my configuration file changes.

Leave a Reply

Your email address will not be published. Required fields are marked *