Use a domain with dial-up connection

If you wont your computer to act a web server, you must register a domain and do some little configuration. I have a dynamic ip, changed every time I connect to the net.

These are the steps needed to make it works:

1. Create a dynamic DNS service

  1. Create an account on a dynamic DNS site like
  2. Choose the name of your server, for example
  3. Download the Client, it’s available for OsX, Windows and Linux.
  4. Install it and configure with your account.
  5. Launch it.

2. Configure the Web domain

  1. Register a internet domain, if you don’t have it.
  2. Create an entry in the domain DNS management:
    http://www.yourdomain.ext CNAME dynamic.ip.address.
    for example: CNAME
  3. Set the TTL field to 300 to minimize DNS propagation time

Starting from now, if the DNS client is on, your computer will be reachable.

Connecting to your Mac from Workplace

If you have the need to connect to my home mac, but your company firewall will not allow youto use vnc, this is the post for you!!

So, this is a way to connect using a vpn using only open source software.
Don’t’ forget to make a donation if you like the software!!!!

What you need:

1. Server Installation

1.1 OS X VNC Server

Download VNC Server and install on your OS X.

Set a password for the incoming connection and configure for Startup at System startup (you may be required to confirm with admnistrator password).

1.2 Open VPN Server

Uninstall the package. Then configure e compile it with the following commands:

make install

Now you have to generate encrypting keys:

cd easy-rsa
. ./vars

enter the informations requested.

./build-key-server server
./build-key client1
./build-key client2
./build-key client3

The keys generated will be stored in the keys directory.

Now, we have to create the configuration:
sudo mkdir /etc/openvpn
cp keys/* /etc/openvpn
cd /etc/openvpn

now we create a file called home.config

and paste the following lines:

port 443
proto tcp-server
dev tun
secret /etc/openvpn/server.key
keepalive 10 60

At this point the server configuration is done.
you can launch the openvpn server with the following command:

sudo /usr/local/sbin/openvpn –config /etc/openvpn/home.conf &

The last step: copy the /etc/openvpn/server.key to the computer that needs to connect to your mac.

2. Client Installation

2.1 OpenVPN Client

Install the openVPN windows client.
copy the server.key taken from your mac to the C:/WINDOWS directory

Now from the openvpn client select “Edit Config” and paste the following line:

remote <Your_IP_Address>
dev tun
secret C:/WINDOWS/server.key
keepalive 10 60
proto tcp-client
port 443

save it.

2.2 VNC Viewer

Install the VNC Viewer on you system.

3 Connect to your Mac

Now this is the simple procedure.

1) lauch openvpn selecting “connect”

2) lauch vnc and enter the following address

3) at this you’ll be asked for a password, you have to enter the one you choose

for the VNC Server in step 1.1

Have fun!!