open vpn remote raspberry pi to purple, fixed ip? call by name?
I have a remote raspberry pi, and a nice script that reliably kills the current openvpn sessions and starts it clean.
1) is there a way to get the same FIXED IP address assigned over the openvpn to purple connection? (I only have two remote raspberry pi)
2) is it possible to open them ssh or vnc by hostname?
3) Lookin at openvpn > network I do not see a list of the open vpn connections that are happily up and running. I believe I am all up today 11/23.
I have the remote raspberry pi, update a file on my server, via wget and a php script so I can look up where they are. There must be a not kludgey solution. Yet Kluegey serves me well.
-
- Why do you care about the IP you connect with? If the goal is to limit access over VPN, you can do that with Rules. You can set the RPis to use IP reservations if you wish but if you access them via hostname the IP won't matter.
- Yes, you can connect via SSH or VNC by hostname or IP.
- OpenVPN allows al devices to share a profile, so you will never see more than one connection for that. WireGuard profiles are device specific so you can count the connections, remove profiles if they are compromised, etc.
-
Thank you for the quick reply.
I am therefore reporting that vnc and ssh do not resolve from the pi to the server or vice versa.
My host is RadioAlgae is there a dot something Suffix i am missing.?
The IP address changes with each new connection, (interesting,rotating around three choices repeatedly)
I wget to a php script to store and retrieve the ipaddr of the pi 88 and 1775 mikes away.
Tnx
-
“I am therefore reporting that vnc and ssh do not resolve from the pi to the server or vice versa“
Let me understand…you are connecting to Firewalla VPN server using a VPN client from outside your network to connect to devices that are n your network, is that right? You should try the search or local domain https://help.firewalla.com/hc/en-us/articles/1500002445242-What-is-the-Firewalla-local-domain-and-search-domain-If you used the hostname.localdomain, the IP won’t matter. I’m not sure I quire understand about rotating IPs. Can you say more about that? Maybe you can say more about your overall goals so I or someone could see if there is a simpler solution.
Please sign in to leave a comment.
Comments
3 comments