Lost SSH Access to Brokkr Server after Setting Up a VPN
A description for your article
Question: I lost SSH access to my Brokkr server after setting up a VPN. What should I do?
A: This is a common issue when using VPNs like NordVPN, as they can change your iptables and disrupt SSH access. Here's how to resolve it:
1. Check your VPN configuration:
- Is NordVPN configured to auto-connect on boot? If so, disabling auto-connect might prevent the issue.
- Which VPN protocol are you using? OpenVPN is known to cause this issue more frequently than other protocols. Try switching to UDP or TCP and see if the problem persists.
2. Restart your NordVPN client:
- This can often restore SSH access without needing further steps.
3. Whitelist the SSH port in iptables:
- This requires some technical knowledge, but it allows you to specifically allow SSH traffic through the VPN tunnel.
- You can find detailed instructions on how to do this on the following Stack Exchange thread: https://serverfault.com/questions/1146190/ssh-to-the-same-server-of-openvpn-tries-to-connect-with-original-ip-instead-of
4. Contact Hydra Host support:
- If none of the above steps work, please contact Hydra Host support for further assistance at Service@hydrahost.com
Additional resources:
- Stack Exchange thread: https://serverfault.com/questions/1146190/ssh-to-the-same-server-of-openvpn-tries-to-connect-with-original-ip-instead-of
- NordVPN support website: https://nordvpn.com/contact-us/
Tips:
- Remember to always back up your server data before making any significant configuration changes.
- When using a VPN, it's important to be aware of potential security risks and take appropriate precautions.
By following these steps, you should be able to restore SSH access to your Brokkr server after setting up a VPN.
Did this answer your question?
😞
😐
🤩
Last updated on August 4, 2021