Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I tried to follow these instructions my remote linux (ubuntu) server crashed. I don't have physical access to this computer.

https://help.ubuntu.com/community/OpenVPN

I will try again with another remote linux server (ubuntu again). Can someone give any advice on how to not lose the SSH connection permanently while trying to setup the OpenVPN connection? Thanks.

share|improve this question

closed as off-topic by Ward, mdpc, Falcon Momot, Cian, larsks Aug 17 '13 at 9:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Ward, mdpc, Cian, larsks
If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Simple understand the routing implications before starting the daemon. probably best to test things on a box you can touch or gave out of band access to . –  Zoredache Aug 16 '13 at 15:28

1 Answer 1

Practice makes perfect.
Like Zoredache said, keep trying until you can do the routing diagnosis in your head before throwing the switch. Preferably on a box you have physical (or IPMI, remote KVM, etc.) access to so that when (not if) you screw up you can fix the problem.

Other free advice:
Whenever you're doing something that can affect routing or firewall configuration, DON'T set it up so it takes effect across reboots, and set a watchdog.

Something as simple as shutdown -r +5 before you pull the trigger will ensure that if you lock yourself out your system will reboot and be accessible again. And if everything works you can just cancel the shutdown.

(I've been doing this for a good long while. I'm pretty good at it and haven't broken things in recent memory. I still set a watchdog before I touch a firewall or VPN configuration.)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.