Configuring routes for vpn om mac server

broken image
broken image

Edit (or create) /etc/ppp/ip-up and put something like the following into that #!/bin/sh Now you have to add the routing to your network. This prevents creating a new default route. Then write just “nodefaultroute” into that file. Bad, if you just want to connect securely to the office network, but not want to let each and every download go through the office.īut there's a solution to this, which I found on macosxhints (way down in the comments).įirst create a file in /etc/ppp/peers/ called the same as your VPN config, in my case, this is /etc/ppp/peers/bitflux. Good, if you're on a completely untrusted network like a conference wireless network. Setting VPN over PPTP up on OS X is also super easy with the help of “Internet Connect”, but it sets a default route to the gateway. Therefore we can connect to the office network from home and securely connect to the datacenter (even though almost all important connections are SSL or SSHed anyway, but it's more reassuring, especially if you're on an untrusted network)

broken image

Besides now having a nice web based interfaced for setting up firewall rules, the m0n0wall comes with built in VPN capabilities (IPSec and PPTP). We finally replaced our 5 year old 300 MHz Pentium Firewall/Gateway for the office network with a cute little m0nowall.