Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:vpn:galileo [2017/04/12 14:42] – [galileo openvpn] scipio | tips:vpn:galileo [2024/07/19 10:21] (current) – [Console] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== VPN Galileo ====== | ====== VPN Galileo ====== | ||
| + | |||
| + | VPN PPTP/L2TP: | ||
| + | * indirizzo server concentratore: | ||
| + | * username e password | ||
| + | |||
| + | < | ||
| + | yay -S networkmanager-l2tp networkmanager-strongswan | ||
| + | </ | ||
| + | |||
| + | aggiungere vpn L2TP | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ====== pptp manual ====== | ||
| + | |||
| + | <file ini / | ||
| + | [connection] | ||
| + | id=galileo | ||
| + | uuid=97852b85-b57b-4b38-9687-d919f2820e57 | ||
| + | type=vpn | ||
| + | autoconnect=false | ||
| + | permissions=user: | ||
| + | timestamp=1623922800 | ||
| + | |||
| + | [vpn] | ||
| + | gateway=94.230.76.2 | ||
| + | mru=1400 | ||
| + | mtu=1400 | ||
| + | password-flags=0 | ||
| + | user=xxx | ||
| + | user-auth-type=password | ||
| + | service-type=org.freedesktop.NetworkManager.l2tp | ||
| + | |||
| + | [vpn-secrets] | ||
| + | password=xxx | ||
| + | |||
| + | [ipv4] | ||
| + | dns-search= | ||
| + | ignore-auto-dns=true | ||
| + | method=auto | ||
| + | |||
| + | [ipv6] | ||
| + | addr-gen-mode=stable-privacy | ||
| + | dns-search= | ||
| + | method=disabled | ||
| + | |||
| + | [proxy] | ||
| + | |||
| + | </ | ||
| + | |||
| + | < | ||
| + | chmod 600 / | ||
| + | </ | ||
| + | |||
| + | change: | ||
| + | * permissions=user: | ||
| + | * user=xxx | ||
| + | * password=xxx | ||
| + | |||
| + | |||
| + | |||
| + | ====== pptp GUI ====== | ||
| + | |||
| + | Installare il package networkmanager-pptp | ||
| + | |||
| + | Aggiungere una VPN pptp | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{ : | ||
| ===== galileo openvpn ===== | ===== galileo openvpn ===== | ||
| Line 5: | Line 79: | ||
| Server certificate | Server certificate | ||
| <file txt ca.crt> | <file txt ca.crt> | ||
| + | -----BEGIN CERTIFICATE----- | ||
| + | MIIDVDCCAjygAwIBAgIIK+uSMAP/ | ||
| + | AwwRQ0EtVlBOQ09OQy1NRVVDQ0kwHhcNMjEwNzE1MTAxOTQwWhcNMjIwNzE1MTAx | ||
| + | OTQwWjAcMRowGAYDVQQDDBFDQS1WUE5DT05DLU1FVUNDSTCCASIwDQYJKoZIhvcN | ||
| + | AQEBBQADggEPADCCAQoCggEBAMpvDbQaXdZ670pKiI/ | ||
| + | 5ezrDlDpG2fzX1L7VHFwP9ICxWl5f4D54k9tf4BjSdkSprCNGZy7m6jjub/ | ||
| + | Ogqys// | ||
| + | KDynF9xoWgrFNOjnzBB+/ | ||
| + | r6hUwrOIYe0/ | ||
| + | UeFulcgrXN0W+lGM1JWwSwMlCR5E8Q8u/ | ||
| + | BgNVHRMBAf8EBTADAQH/ | ||
| + | 8UwB4OCsmtunMwXwdjYwLgYDVR0fBCcwJTAjoCGgH4YdaHR0cDovLzk0LjIzMC43 | ||
| + | Ni4yL2NybC8xNC5jcmwwJAYJYIZIAYb4QgENBBcWFUdlbmVyYXRlZCBieSBSb3V0 | ||
| + | ZXJPUzANBgkqhkiG9w0BAQsFAAOCAQEAJ/ | ||
| + | KMjY1P2b9eK08mAAq4+Gp8/ | ||
| + | o2rJ3Z24E/ | ||
| + | R9fWzZrV9KWOWfLXvPF4n/ | ||
| + | vO0dg/ | ||
| + | ilkuUqzSXarAg4LqxShPRxfSnX2kUP6IXsDeonX/ | ||
| + | -----END CERTIFICATE----- | ||
| + | </ | ||
| + | |||
| + | ==== GUI ==== | ||
| + | ubuntu | ||
| + | <code bash> | ||
| + | sudo apt install network-manager-openvpn-gnome | ||
| + | sudo service network-manager restart | ||
| + | </ | ||
| + | |||
| + | arch: pacman -S networkmanager-openvpn | ||
| + | |||
| + | add VPN connection with network manager GUI: | ||
| + | * type: openvpn | ||
| + | * gateway: **vpn1.csgalileo.org** | ||
| + | * user: < | ||
| + | * pass: < | ||
| + | * CA certificate: | ||
| + | * in advanced settings check **"Use TCP connection" | ||
| + | * in route add 10.0.0.0/8 and 185.91.188.0/ | ||
| + | |||
| + | ==== Console ==== | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt install openvpn | ||
| + | </ | ||
| + | |||
| + | <file txt auth.cfg> | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <file txt openvpn.conf> | ||
| + | client | ||
| + | dev tun | ||
| + | proto tcp-client | ||
| + | remote vpn1.csgalileo.org | ||
| + | port 1194 | ||
| + | nobind | ||
| + | persist-key | ||
| + | persist-tun | ||
| + | tls-client | ||
| + | remote-cert-tls server | ||
| + | ca cert_export_CA-VPNCONC-MEUCCI.crt | ||
| + | cert cert_export_client-VPNCONC-MEUCCI-adalcason.crt | ||
| + | key cert_export_client-VPNCONC-MEUCCI-adalcason.key | ||
| + | verb 1 | ||
| + | mute 20 | ||
| + | auth SHA1 | ||
| + | auth-user-pass login.conf | ||
| + | cipher AES-256-CBC | ||
| + | ;cipher AES-256-GCM | ||
| + | auth-retry interact | ||
| + | ; | ||
| + | route 10.0.0.0 255.0.0.0 | ||
| + | route 172.16.0.0 255.240.0.0 | ||
| + | route 94.230.77.0 255.255.255.0 | ||
| + | route 94.230.78.0 255.255.255.0 | ||
| + | route 94.230.79.0 255.255.255.0 | ||
| + | route 109.104.240.0 255.255.252.0 | ||
| + | route 185.91.188.0 255.255.252.0 | ||
| + | #log-append log.txt | ||
| + | askpass chiave.config | ||
| + | |||
| + | providers legacy default | ||
| + | data-ciphers-fallback BF-CBC | ||
| + | compat-mode 2.3.18 | ||
| + | |||
| + | </ | ||
| + | |||
| + | <file txt go> | ||
| + | sudo openvpn --config openvpn.conf | ||
| + | </ | ||
| + | |||
| + | Connect with | ||
| + | <code bash> | ||
| + | ./go | ||
| + | </ | ||
| + | |||
| + | ==== Winzozz ==== | ||
| + | |||
| + | <file txt c:\Program Files\OpenVPN\config\auth_galileo.cfg> | ||
| + | username | ||
| + | password | ||
| + | </ | ||
| + | |||
| + | <file txt c:\Program Files\OpenVPN\config\galileo.ovpn> | ||
| + | client | ||
| + | dev tun | ||
| + | proto tcp-client | ||
| + | remote-cert-tls server | ||
| + | |||
| + | remote vpn.csgalileo.org 1194 | ||
| + | route 10.0.0.0 255.0.0.0 vpn_gateway 3 | ||
| + | route 185.91.188.0 255.255.255.0 vpn_gateway 3 | ||
| + | |||
| + | resolv-retry infinite | ||
| + | nobind | ||
| + | persist-key | ||
| + | persist-tun | ||
| + | verb 3 | ||
| + | auth-user-pass auth_galileo.cfg | ||
| + | script-security 3 | ||
| + | <ca> | ||
| -----BEGIN CERTIFICATE----- | -----BEGIN CERTIFICATE----- | ||
| MIIE3zCCA8egAwIBAgIJAKI/ | MIIE3zCCA8egAwIBAgIJAKI/ | ||
| Line 34: | Line 231: | ||
| vlW7 | vlW7 | ||
| -----END CERTIFICATE----- | -----END CERTIFICATE----- | ||
| + | </ca> | ||
| </ | </ | ||
| - | |||
| - | <code bash> | ||
| - | sudo apt install network-manager-openvpn-gnome | ||
| - | sudo service network-manager restart | ||
| - | </ | ||
| - | |||
| - | add VPN connection with network manager GUI: | ||
| - | * type: openvpn | ||
| - | * gateway: **vpn.csgalileo.org** | ||
| - | * user: < | ||
| - | * pass: < | ||
| - | * CA certificate: | ||
| - | * in advanced settings check **"Use TCP connection" | ||
| ===== Lavagno ===== | ===== Lavagno ===== | ||