Yay, I think it's working!
I had to do some random stuff that wasn't in any of the basic tutorials (found it on a site about the eeePC):
(apt-get install module-init-tools) (I may have accidentally removed these)
(modprobe tun) (think I just got an error)
mkdir /dev/net
mknod /dev/net/tun c 10 200 (I have no idea!)
openvpn --mktun --dev tun0
Then my pretty basic configuration based on the
Static Key Mini-HOWTO seems work - I can ping back and forth at least on the 10.8.0.x interfaces.
(yet another) Question: Can you see any problem with these iptables rules?
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2 256 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:www
1 88 ACCEPT udp -- eth0 any anywhere anywhere udp dpt:8888
2 120 ACCEPT all -- tun+ any anywhere anywhere
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9999
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- tun+ any anywhere anywhere
Chain OUTPUT (policy ACCEPT 13 packets, 1536 bytes)
pkts bytes target prot opt in out source destination
(9999 being my ssh port and 8888 being the openvpn port)
Also, I guess it's a good idea to now allow ssh connections only over the vpn?
Thanks again!
Daveo