Skip to Content
Virtual Private Networks, Second Edition
book

Virtual Private Networks, Second Edition

by Mike Erwin, Charlie Scott, Paul Wolfe
December 1998
Intermediate to advanced
228 pages
6h 36m
English
O'Reilly Media, Inc.
Content preview from Virtual Private Networks, Second Edition

Troubleshooting Problems

Now let us assume that everything didn’t go as smoothly as planned. There are several points of failure along the way, but fortunately there are some good ways to pinpoint the problem.

Errors from the VPN Script

The following are errors that might occur when you execute the VPN script. All of these errors should appear directly on the screen. When looking at these errors, it’s important to remember the essentials of what the VPN script does: it redirects a pseudo-terminal, launches the PPP daemon on the slave using SSH, launches the PPP daemon on the master, and sets up routing on both the master and slave.

FAILED!

If you see this message, pty-redir failed to get a valid pseudo-terminal. You should check the contents of the /tmp/device file and see if it’s empty. If it exists but is empty, and you actually saw pty-redir spit out a device name when you ran it by hand earlier, STDERR output may not be redirected to that file. You will have to add a 2 as we showed under Section 8.4.2.7.

SIOCADDR: Network is unreachable

This is a message from one of the route commands. It can mean there is a mistake either in one of the IP addresses or networks in the VPN script settings, or in the slave’s route script. Or it could mean that a PPP connection was never successfully started, in which case you’ll need to check the logs (see Section 8.5.2).

SIOCADDRT: Operation not permitted

This is also a message from one of the route commands. It means that you’re not allowed to execute ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

IPSec: The New Security Standard for the Internet, Intranets, and Virtual Private Networks, Second Edition

IPSec: The New Security Standard for the Internet, Intranets, and Virtual Private Networks, Second Edition

Naganand Doraswamy, Dan Harkins
IPsec Virtual Private Network Fundamentals

IPsec Virtual Private Network Fundamentals

- CCIE No. 6085 James Henry Carmouche

Publisher Resources

ISBN: 1565925297Catalog PageErrata