====== OpenVPN ====== ===== Client 설정 ===== * OpenVPN 을 설정하면 ''*.ovpn'' 파일이 나온다. * 이 파일이 있으면 OpenVPN 설정이 username/password 를 제외하고는 자동으로 이루어진다. * [[https://computingforgeeks.com/nmcli-connect-to-openvpn-server/|Use nmcli to connect to OpenVPN Server on Linux | ComputingForGeeks]] # openvpn network manager 설치하면 필요한 의존성들이 추가 설치됨 sudo apt install network-manager network-manager-openvpn # .ovpn 파일로 VPN 설정 구성 sudo nmcli connection import type openvpn file # 설치 상태 보기 nmcli connection show # Gnome Network 설정에서 보면 잘 보임. 거기서 username/password 를 채워주면 된다. # 명령행 접속 nmcli connection up ===== 참조 ===== * [[https://www.cyberciti.biz/faq/ubuntu-20-04-lts-set-up-openvpn-server-in-5-minutes/|Ubuntu 20.04 LTS Set Up OpenVPN Server In 5 Minutes - nixCraft]] * [[https://serverfault.com/questions/631037/how-to-route-only-specific-openvpn-traffic-through-a-openvpn-based-on-ip-filteri|How to route only specific openVPN traffic through a openVPN based on IP filtering of the destination? - Server Fault]]