Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 823

Pivpn stuck on connecting

$
0
0

I had a perfectly working pivpn installation:

  • rpi 3 a+ on site A

  • rpi 0 on site B

Both as ovpn servers so I can connect to both sites whenever I'm out.

But I wanted to make it site to site so I followed up this guide:

https://opsdocks.com/posts/configure-site-to-site-openvpn/#overview

Site A would be the server and B the client for this case.

Everything seemed to work until the Enable IP and TUN/TAP forwarding part. I run the commands both on the server and the client.

iptables -A INPUT -i tun+ -j ACCEPT iptables -A FORWARD -i tun+ -j ACCEPT iptables -A INPUT -i tap+ -j ACCEPT iptables -A FORWARD -i tap+ -j ACCEPT iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables-save

And right now I can't connect to any of the sites :(

Anyone knows how to remove the last commands so I can at least have connection to the sites?


Viewing all articles
Browse latest Browse all 823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>