I have a machine running Xubuntu 17.04 that is connected as a client to a VPN via OpenVPN (2.3.11). When I have the client connected, I can access the machine remotely via SSH and VNC if I am on the same subnet (my LAN subnet, 192.168.1.0/24). I can not access it from my wireless subnet, 192.168.2.1/24. If I disconnect from OpenVPN I can connect from the wireless subnet. I do not have access to the server to make config changes as this is a paid VPN service. Is there a way to allow the incoming connection from multiple subnets while OpenVPN is running?
ColLeslieHapHapablap's questions
I'm having an issue with my Ubuntu Server 16.04 installation. I have it running on a Zotac Z-Box CI23 Nano. It installed fine, but on its first boot all I had was a blank screen. I edited /etc/default/grub
and changed GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
This let me see the startup, but the text is all garbled white blocks:
I first thought it might be a bad cable, so I switched cables with no change. I changed monitors with no effect. I switched to a TV using HDMI with no effect.
Any ideas would appreciated.
I am having a problem trying to set up an FTPS server on my Ubuntu Server 13.10 machine. I have vsftpd installed.
When I try to start the service using sudo service vsftpd start
I get :
vsftpd start/pre-start, process 5922
However, ps aux | grep vsftpd
yields nothing.
I found this error in /var/log/dmesg
:
[ 11.212518] init: vsftpd main process (1137) terminated with status 2
The result of sudo vsftpd
is:
500 OOPS: SSL: cannot load RSA certificate
The permissions on \etc\vsftpd\vsftpd.pem
are currently set to:
-rw-r--r-- 1 root root 1708 Jan 28 05:15 vsftpd.pem
I tried changing the permissions to 777 and it still didn't work.
I used the following command to create the certificate:
openssl req -x509 -nodes -days 720 -newkey rsa:2048 -keyout /etc/vsftpd/vsftpd.pem -out /etc/vsftpd/vsftpd.pem
My /etc/vsftpd.conf
is as follows:
listen=YES
anonymous_enable=NO
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=NO
xferlog_file=/var/log/vsftpd.log
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/vsftpd/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
listen_port=2000
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
hide_ids=YES
max_per_ip=10
max_clients=10
port_enable=YES
pasv_enable=YES
pasv_min_port=11000
pasv_max_port=11030
require_ssl_reuse=NO
Any help would be greatly appreciated, as I am officially drawing a total blank.
Thanks in advance.
UPDATE:
I just tried it with:
rsa_cert_file=/etc/ssl/private/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
It worked. So I'm thinking that I messed up the certificate generation. I don't really know enough about OpenSSL to figure it out any further.
Ubuntu 12.04.3
I have a question regarding a computer I use as a file server on my home network. The hardware is actually an old Asus netbook (don't laugh, it's low power, silent, and has a built in backup power supply). I originally used the machine as a normal workstation but when the keyboard went I started using it as a server.
I used tasksel to remove "Ubuntu Desktop." due to it's high resource usage. I mostly access the machine using SSH, but now that I have removed Unity I miss being able to use a remote desktop.
Is there a way that I can set up a graphical desktop to use remotely from my Windows machine that will be less intensive than Unity? I would prefer, if possible, that the computer itself doesn't show anything on the screen while I am using it remotely. There is a driver bug that doesn't allow me to close the lid without the system going to sleep, so being able to have the screen be blank while i'm remotely using a graphical desktop would be great.
Any ideas, oh great community of Linux intellectuals? Any help would be appreciated!
I have an issue when logging into my Ubuntu 12.04 machine via SSH. It lags for about 40 seconds after printing half of the MOTD. Then it says
[...]: command not found
and completes the login.
My MOTD reads as follows when I log in:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-35-generic-pae i686)
* Documentation: https://help.ubuntu.com/
Last login: Sat Oct 5 20:37:30 2013 from windows
[...]: command not found
I looked into modifying /etc/motd
. However, the system uses update-motd
and I can't wrap my head around how that program works. I can't find in which file the offending missing command is in. I like the dynamis MOTD, but this lag is driving me nuts. Lil help?
My /etc/update-motd.d/
looks like this:
me@server:/etc/update-motd.d$ ls -al
total 44
drwxr-xr-x 2 root root 4096 Aug 29 02:16 .
drwxr-xr-x 156 root root 12288 Oct 5 20:41 ..
-rwxr-xr-x 1 root root 1220 Apr 19 2012 00-header
-rwxr-xr-x 1 root root 1358 Apr 19 2012 10-help-text
-rwxr-xr-x 1 root root 149 Aug 22 2011 90-updates-available
-rwxr-xr-x 1 root root 129 Sep 30 2011 91-release-upgrade
-rwxr-xr-x 1 root root 142 Aug 22 2011 98-fsck-at-reboot
-rwxr-xr-x 1 root root 144 Aug 22 2011 98-reboot-required
-rwxr-xr-x 1 root root 1158 Apr 19 2012 99-footer
Thanks in advance, wonderful internet folk.
I am trying to convert an MKV file to MP4 to be compatible with my PS3. I am using:
avconv -i file.mkv -c copy file.mp4
It fails and I get the following error:
[mp4 @ 0x8a17c00] pts < dts in stream 0
av_interleaved_write_frame(): Invalid argument
The file is h264 video and ac3 audio.