I have 12.2 with LXDE running on an EeePC 1201K with a WiFi
connection. I set up a private openvpn tunnel to a server following
the very helpful instructions at
https://openvpn.net/index.php/open-source/documentation/howto.html
My /etc/openvpn/server.conf is
port 443
dev tun
proto udp
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 212.27.40.241"
push "dhcp-option DNS 212.27.40.240"
keepalive 10 120
cipher BF-CBC # Blowfish (default)
comp-lzo
max-clients 10
user nobody
group nobody
persist-key
persist-tun
status /var/log/openvpn-status
log /var/log/openvpn
verb 4
[PROBLEM] The setup runs correctly for about 30 minutes, then tun0
drops and has to be restarted. Running “ping -i 120 cloudy-server.tld”
permanently keeps tun0 active, but the “keepalive 10 120” in server.conf
is not sufficient.
[FIX] Modify the LXDE Screensaver configuration as follows:
System -> LXDE Control Center -> ScreenSaver settings,
set Mode to “Blank screen only”. tun0 now stays up without requiring
a permanent ping.
Regards, Roger