Posts

Showing posts from June, 2014

MacBook Pro Retina display on Ubuntu not working, which package to install

sudo apt-get install nvidia-331

OpenVPN: push all LAN traffic through an OpenVPN client to the other side

Local variables for this post, adjust to fit your setup:OpenVPN client server IP192.168.1.200Remote network172.16.1.0/24Add this to the client server that is using OpenVPN to connect to the remote server: sudo iptables -A POSTROUTING -o tun0 -j MASQUERADEas root user, doecho 1 > /proc/sys/net/ipv4/ip_forward Add this to your local computer Linux: ip route add 172.16.1.0/24 via 192.168.1.200Mac:route -n add 172.16.1.0/24 192.168.1.200 Now, you should be able to ping from your local computer, through the client machine, and to a server in the remote network. Once that works, try ssh.

NOTE: take a look at /etc/sysctl.conf if you want the ip_forward to last through reboots of client server: net.ipv4.ip_forward=1