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.

No related posts.

Comments

  1. From pacer521 on September 10th, 2008 at 10:55 pm

    great blogging so far, but hats off to your picture, the iron man mask is freaking awesome, keep it up. hahah

  2. From fadzli on September 14th, 2008 at 1:06 am

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

    well done nazham… :)

  3. From nazham on September 14th, 2008 at 1:30 am

    Well, I do have doubts at first, now blogging is kinda fun. :)

  4. From Rizal on September 16th, 2008 at 1:43 pm

    More so when there’s a blogging community of friends :D

  5. From Oliver on January 11th, 2009 at 5:47 am

    thanks for the useful tip

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

  6. From nazham on January 17th, 2009 at 4:40 pm

    @Oliver: Not sure yet what could be the problem. Will let you know when I stumbled anything.

twitter rss