This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:vpn_troubleshooting [2020/04/12 15:04] – jotasandoku | network_stuff:vpn_troubleshooting [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 70: | Line 70: | ||
| - | ---- | + | |
| - | + | ||
| - | **OPENVPN SERVER RASPBERRY PI** | + | |
| - | [[https:// | + | |
| - | curl -L https:// | + | |
| - | # 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! | + | |
| - | # | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | # all fields nicely explained here : https:// | + | |
| - | + | ||
| Line 144: | Line 132: | ||
| May 9 05:16:22 observium xl2tpd: xl2tpd[23954]: | May 9 05:16:22 observium xl2tpd: xl2tpd[23954]: | ||
| + | |||
| + | LIBRESWAN STRONGSWAN NOTES: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * pluto is is an IKE (" | ||
| + | |||
| + | yum install libreswan | ||
| + | ipsec initnss | ||
| + | systemctl enable ipsec | ||
| + | systemctl start ipsec | ||
| + | | ||
| + | # Use this to add and bring up the tunnel and see the exchange! | ||
| + | ipsec auto --add mycompany2-tunnel-1 | ||
| + | ipsec auto --up mycompany2-tunnel-1 | ||
| + | |||
| + | |||
| + | * In the vnic: "tick skip Source/Dest Checks" | ||
| + | * modify | ||
| + | |||
| + | # https:// | ||
| + | conn mycompany2-tunnel-1 | ||
| + | | ||
| + | # leftid=193.123.39.207 # This is the public IP (nat-t) | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | |||
| + | cat / | ||
| + | my-pub-ip x-end-pub-ip : PSK " | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | CLASSY IPSEC-VPN TROUBLESHOOT: | ||
| + | * [[http:// | ||
| + | * [[https:// | ||