Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.

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

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.