This thread was origianlly Cannot check status of OpenVPN server., but things have progress and new problems ahve reared their ugly heads...
yeah, thanks - that's what I did.
However, I dunno if I have other problems or it's all OpenVPN releted...
I ran
/usr/sbinopenvpn --config /etc/openvpn/server.conf
and got:
Code: Select all
NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Diffie-Hellman initialized with 1024 bit key
/usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
TLS-Auth MTU parms [ L:1542 D:138 EF:0 EB:0 ET:0 EL:0 ]
WARNING: Potential TUN/TAP adapter subnet conflict between local LAN [192.168.1.0/255.255.255.0] and remote VPN [192.168.1.1/255.255.255.255]
ROUTE default_gateway=192.168.1.1
TUN/TAP device tun0 opened
TUN/TAP TX queue length set to 100
/sbin/ifconfig tun0 192.168.1.1 pointopoint 192.168.1.2 mtu 1500
WARNING: Potential route subnet conflict between local LAN [192.168.1.0/255.255.255.0] and remote VPN [192.168.1.0/255.255.255.0]
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.2
Data Channel MTU parms [L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Socket Buffers: R=[124928->131072] S=[124928->131072]
Then it all seemed to hang. There was nothing after that, and the PuTTY terminal would not respond.
After about five minutes, PuTTY then closed as it had lost connection to the server. After that I could not reconnect, PuTTY complains with "No route to host".
I then tried to connect through nautilus with
ssh://user-name@192.168.1.100/home only to get the message:
"sftp://user-name@192.168.1.100/home", because the host could not be found.
Checking from the server, I tried apt-get update, only to get a long list of server not found.
ifconfig shows that the server is getting an IP address from the modem/router. But there is also another entry, now, for tun0:
Code: Select all
tun0 link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.1 P-t-p:192.168.1.2 mask:255.255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:56188 (0.0 B) TX bytes:8763 (0.0 B)
I am assuming now, that something else is wrong and the OpenVPN is blocking all network traffic?
--EDIT--
Doing web searches, I see the tun0 entry look sto be pretty normal, so guess that's not the problem...