Hi, sorry I’ve exhausted myself trying to confgure an incus container that serves as a resource efficient vpn.
I’m confused and kindly seeking help
Reproducable steps
# create container
incus create images:ubuntu/22.04 u22
incus start u22
incus shell u22
# setup ssh
apt install openssh-server -y
cat << EOF >> /etc/ssh/sshd_config
PermitRootLogin yes
X11Forwarding yes
EOF
systemctl restart sshd
# ssh to container
exit
incus list
ssh -X 10.0.32.77
# install vpn software and dependencies
wget https://ccnet.ntu.edu.tw/vpn/Download/ps-pulse-linux-22.2r1.0-b1295-64bit-installer.deb https://filestore.fortinet.com/forticlient/forticlient_vpn_7.4.0.1636_amd64.deb
apt install ./*.deb
# launch vpn software
forticlient gui
forticlient starts up fine. I configure the vpn and start it, successflly authenticating through SAML but its stuck on connecting.
This process works on virtualbox and I notice in virtualbox it creates a new network interface. I don’t know how to configure permissions for that. if someone can point me in the right direction please.
Please find the logs for the vpn software Below
confighandler.log
20250217 17:08:37.100 TZ=+0000 [confighandler:EROR] about:105 Failed to get icdb metadata: i/o error: N
o such file or directory (os error 2)
20250217 17:08:39.717 TZ=+0000 [confighandler:EROR] vuln:58 Failed to read vuln scan result: i/o error:
No such file or directory (os error 2)
20250217 17:08:39.722 TZ=+0000 [confighandler:EROR] antivirus:49 Failed to get total quarantine entry c
ount: i/o error: No such file or directory (os error 2)
20250217 17:08:39.764 TZ=+0000 [confighandler:EROR] vuln:58 Failed to read vuln scan result: i/o error:
No such file or directory (os error 2)
20250217 17:08:39.769 TZ=+0000 [confighandler:EROR] vuln:58 Failed to read vuln scan result: i/o error:
No such file or directory (os error 2)
20250217 17:08:39.785 TZ=+0000 [confighandler:EROR] vuln:58 Failed to read vuln scan result: i/o error:
No such file or directory (os error 2)
20250217 17:08:39.824 TZ=+0000 [confighandler:EROR] antivirus:49 Failed to get total quarantine entry c
ount: i/o error: No such file or directory (os error 2)
20250217 17:08:39.858 TZ=+0000 [confighandler:EROR] antivirus:49 Failed to get total quarantine entry c
ount: i/o error: No such file or directory (os error 2)
20250217 17:08:40.091 TZ=+0000 [confighandler:EROR] about:105 Failed to get icdb metadata: i/o error: N
o such file or directory (os error 2)
20250217 17:24:19.717 TZ=+0000 [confighandler:EROR] websock:79 Failed to recv message from ws: WebSocke
t protocol error: Connection reset without closing handshake
fctsched.log
20250217 16:59:25.497 TZ=+0000 [scheduler:INFO] fctsched:580 Checking confighandler status
20250217 16:59:25.498 TZ=+0000 [scheduler:INFO] fctsched:586 Confighandler status OK
20250217 16:59:25.498 TZ=+0000 [scheduler:INFO] fctsched:603 FortiClient Scheduler start …
20250217 16:59:33.549 TZ=+0000 [scheduler:INFO] fct_task_queue:266 Launching firewall
20250217 16:59:33.651 TZ=+0000 [scheduler:INFO] fct_task_queue:151 Firewall socket ready
20250217 17:00:30.549 TZ=+0000 [scheduler:INFO] fct_task_queue:780 Schedule start update task
20250217 17:08:40.106 TZ=+0000 [scheduler:INFO] cmd_dispatcher:474 Update task added
firewall.log
20250217 16:59:33.574 TZ=+0000 [INFO ] factory:72 Using: nftables
20250217 16:59:33.650 TZ=+0000 [INFO ] main:203 IPC socket ready
sslvpn.log
20250217 16:59:25.538 TZ=+0000 [sslvpn:INFO] main:1817 Init
20250217 16:59:25.539 TZ=+0000 [sslvpn:INFO] main:1829 VPN is running in restore DNS mode
20250217 16:59:30.544 TZ=+0000 [sslvpn:EROR] firewall_api:46 ipc_recv failed
20250217 16:59:30.544 TZ=+0000 [sslvpn:DEBG] dns:965 Failed to flush VPN rules
20250217 16:59:30.544 TZ=+0000 [sslvpn:DEBG] dns:73 Restore DNS config
20250217 16:59:30.544 TZ=+0000 [sslvpn:DEBG] dns:77 No DNS backup file was found. Skip.
20250217 16:59:30.544 TZ=+0000 [sslvpn:DEBG] mtu:116 Restore MTU.
20250217 16:59:30.544 TZ=+0000 [sslvpn:DEBG] mtu:120 No MTU backup file was found. Skip.