Jan 092012
 

I made Cisco VPN works on my MacBook, accidentally …

I was talking to someone while randomly clicked on company’s web VPN site, and while discussing something I blindly clicked here and there and found that Advanced VPN does not work on my Mac, it soon took my attention and in several minutes, I figured it should be privilege issue (at least I guess). After manually download the installation shell script and run it with sudo, everything’s working now.

However, I used to start Cisco VPN on the Windows XP virtual machine running inside VirtualBox, it seems with the VPN moved to Mac itself (which is the host machine for VirtualBox), it became slower, significantly slower than before. I haven’t got time to dig out what was happening, but anyway, it is acceptable.

Feb 122011
 

Searched online and here comes what I did:

  1. Install pptpd, ufw
  2. change /etc/pptpd.conf to enable localip and remoteip
  3. change /etc/ppp/chap-secrets to add user name and password
  4. change /etc/ppp/pptpd-options to enable ms-dns
  5. change sysctl.conf to set net.ipv4.ip_forward=1
  6. change /etc/default/ufw to set DEFAULT_FORWARD_POLICY=”ACCEPT”
  7. change /etc/ufw/before.rules
    # nat Table rules
    *nat
    :POSTROUTING ACCEPT [0:0]
    
    # Allow forward traffic from eth0:0 to eth0
    -A POSTROUTING -s 172.16.123.0/24 -o eth0 -j MASQUERADE
    
    COMMIT
  8. ufw allow TCP connection on port 47 and 1723 (surely you want to enable others if you run other services like HTTPd on this host as well)

pretty much this is what I have done, restart, and everything should be up and running.

Apr 102010
 

I believe I need VPN access later on, so I setup an OpenVPN server at home.

Seems pretty straightforward, and all that I need to do later on is performance, but I don’t think I can test it anywhere now.

Let’s see.