User Tools

Site Tools


network_stuff:vpn_troubleshooting

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:vpn_troubleshooting [2020/05/28 18:05] jotasandokunetwork_stuff:vpn_troubleshooting [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 70: Line 70:
  
  
----- + 
- +
-**OPENVPN SERVER RASPBERRY PI** +
-[[https://dzone.com/articles/how-to-setup-an-openvpn-server-on-a-raspberry-pi]]\\ +
-  curl -L https://install.pivpn.io | bash +
-  # set it as static, you shoud have configured the dhcp reservation and port forwarding in the gw before this! +
-  pivpn add nopass # to create profiles. IMPORTANT: in the .ovpn you have the static pub ip, Replece it with the DNS entry! +
-  # +
-  /var/log/openvpn-status.log       # just 3-4 lines with status +
-  /var/log/openvpn.log +
-  /etc/openvpn/server.conf +
-  # all fields nicely explained here : https://github.com/OpenVPN/openvpn/blob/master/sample/sample-config-files/server.conf +
-  +
  
  
Line 146: Line 134:
  
 LIBRESWAN STRONGSWAN NOTES: LIBRESWAN STRONGSWAN NOTES:
-  * [[https://docs.cloud.oracle.com/en-us/iaas/Content/Network/Concepts/libreswan.htm]]+  * [[https://docs.cloud.mycompany2.com/en-us/iaas/Content/Network/Concepts/libreswan.htm]]
   * [[https://dc77312.wordpress.com/2019/01/08/libreswan-ipsec-vpn-on-centos-7-and-windows-10/]]   * [[https://dc77312.wordpress.com/2019/01/08/libreswan-ipsec-vpn-on-centos-7-and-windows-10/]]
   * pluto is is an IKE ("IPsec Key Exchange") daemon   * pluto is is an IKE ("IPsec Key Exchange") daemon
Line 156: Line 144:
      
   # Use this to add and bring up the tunnel and see the exchange!   # Use this to add and bring up the tunnel and see the exchange!
-  ipsec auto --add oracle-tunnel-1 +  ipsec auto --add mycompany2-tunnel-1 
-  ipsec auto --up oracle-tunnel-1+  ipsec auto --up mycompany2-tunnel-1
  
  
Line 164: Line 152:
  
   # https://libreswan.org/man/ipsec.conf.5.html   # https://libreswan.org/man/ipsec.conf.5.html
-  conn oracle-tunnel-1+  conn mycompany2-tunnel-1
        left=10.156.0.23        left=10.156.0.23
        # leftid=193.123.39.207 # This is the public IP (nat-t)        # leftid=193.123.39.207 # This is the public IP (nat-t)
network_stuff/vpn_troubleshooting.1590689151.txt.gz · Last modified: (external edit)