tips:vpn:univr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:vpn:univr [2020/04/30 15:25] – [arch] scipiotips:vpn:univr [2023/04/12 09:18] (current) – [network manager] sscipioni
Line 6: Line 6:
 sudo apt install network-manager-vpnc network-manager-vpnc-gnome sudo apt install network-manager-vpnc network-manager-vpnc-gnome
 </code> </code>
 +
 ====== arch ====== ====== arch ======
  
 <code> <code>
-yay networkmanager-vpnc+paru networkmanager-vpnc 
 +</code> 
 + 
 +====== network manager ====== 
 + 
 + 
 +<code> 
 +yay -S networkmanager-vpnc
 </code> </code>
  
Line 22: Line 30:
 {{:tips:vpn:vpn1.png?400|}} {{:tips:vpn:vpn1.png?400|}}
  
-{{:tips:vpn:vpn1.png?400|}}+{{:tips:vpn:vpn2.png?400|}} 
 + 
 + 
 +or create /etc/NetworkManager/system-connections/univr.nmconnection (chmod 600 and owned by root) 
 +<code> 
 +[connection] 
 +id=univr 
 +uuid=234f1f79-0a96-4be0-991e-75622ead54d0 
 +type=vpn 
 +autoconnect=false 
 +permissions=user:scipio:; 
 +timestamp=1630335537 
 + 
 +[vpn] 
 +IKE DH Group=dh2 
 +IPSec ID=univr 
 +IPSec gateway=remote.univr.it 
 +IPSec secret-flags=0 
 +Local Port=0 
 +NAT Traversal Mode=natt 
 +Perfect Forward Secrecy=server 
 +Vendor=cisco 
 +Xauth password-flags=0 
 +Xauth username=xxx 
 +ipsec-secret-type=save 
 +xauth-password-type=save 
 +service-type=org.freedesktop.NetworkManager.vpnc 
 + 
 +[vpn-secrets] 
 +IPSec secret=univr 
 +Xauth password=xxx 
 + 
 +[ipv4] 
 +method=auto 
 + 
 +[ipv6] 
 +addr-gen-mode=stable-privacy 
 +method=auto 
 + 
 +[proxy] 
 +</code> 
 + 
 + 
 +====== bastion (jump box) ====== 
 + 
 +{{ :tips:vpn:mfa.jpg |}} 
 + 
 +~/.ssh/config 
 +<code>     
 +Host umfa 
 +  Hostname mfa-ssh-srv.univr.it  
 +  User 01scpsfn29 
 +  ForwardAgent yes 
 + 
 +Host ucd 
 +  Hostname cd-www-srv.univr.it 
 +  User 01scpsfn29 
 +  ProxyJump umfa 
 + 
 +Host ustage 
 +  Hostname stage-dev.univr.it 
 +  User 01scpsfn29 
 +  ProxyJump umfa 
 +</code>  
 + 
 + 
 +Oppure, al posto di google auth, si può usare keepassxc utilizzando totp e la "secret key" 
 + 
 +{{:tips:vpn:totp.png?400|}} 
  • tips/vpn/univr.1588253106.txt.gz
  • Last modified: 2020/04/30 15:25
  • by scipio