Hi,
I try to switch from my CentOS pptpd VPN solution to a FreeBSD mpd5. What I need is a simple VPN server I can connect to with windows clients, in a way that all traffic is routed using the VPN server.
I used this guide for centos which worked out of the box. http://www.vps-tutorial.info/2011/01/10/pptp-vpn-setup-xen-centos5/
Now I found this for FreeBSD: http://blog.up-link.ro/freebsd-how-to-install-and-configure-a-pptp-server-with-mpd5-on-freebsd-8-2/
I'm using the latest FreeBSD 9 and the guide worked so far and I can connect, but the traffic seems not to be routed automatically.
I guess I miss this part
Does someone know a tutorial on the missing forwarding/routing part?
Thanks, Andy
I try to switch from my CentOS pptpd VPN solution to a FreeBSD mpd5. What I need is a simple VPN server I can connect to with windows clients, in a way that all traffic is routed using the VPN server.
I used this guide for centos which worked out of the box. http://www.vps-tutorial.info/2011/01/10/pptp-vpn-setup-xen-centos5/
Now I found this for FreeBSD: http://blog.up-link.ro/freebsd-how-to-install-and-configure-a-pptp-server-with-mpd5-on-freebsd-8-2/
I'm using the latest FreeBSD 9 and the guide worked so far and I can connect, but the traffic seems not to be routed automatically.
I guess I miss this part
Code:
iptables -t nat -A POSTROUTING -s 192.168.216.0/24 -o eth0 -j MASQUERADE
Thanks, Andy