Skip to content

Start the VPN on the robot

Stefano Bernagozzi edited this page Jul 15, 2022 · 2 revisions

This issue serves the only purpose of storing a set of instructions to launch the VPN clients on the R1 PC's

  • Open a terminal on R1LAPTOP3 (which obviously has to be connected to the robot wifi)
  • Open four different tabs (let's call them tab1, tab2, tab3 and tab4)
    • tab 1)
      • run sudo systemctl start openvpn@server this should be started on laptop1
    • tab 2)
      • tab2.1) run ssh [email protected]
      • tab2.2) run tmux new -s r1-base-vpn
      • tab2.3) from cd /home/r1-user-vpn run sudo openvpn r1-base.ovpn
      • tab2.4) press "CTRL+b" then press "d" to detach the session
    • tab 3)
      • tab3.1) run ssh [email protected]
      • tab3.2) run tmux new -s r1-torso-vpn
      • tab3.3) from cd /home/r1-user-vpn run sudo openvpn r1-torso.ovpn
      • tab3.4) press "CTRL+b" then press "d" to detach the session
    • tab 4)
      • tab4.1) run ssh [email protected]
      • tab4.2) run tmux new -s r1-face-vpn
      • tab4.3) from cd /home/r1-user-vpn run sudo insmod ./tun.ko
      • tab4.4) from cd /home/r1-user-vpn run sudo openvpn r1-face.ovpn
      • tab4.5) press "CTRL+b" then press "d" to detach the session