Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenVPN: Building and Integrating Virtual Private Networks

You're reading from   OpenVPN: Building and Integrating Virtual Private Networks Learn how to build secure VPNs using this powerful Open Source application

Arrow left icon
Product type Paperback
Published in May 2006
Publisher Packt
ISBN-13 9781904811855
Length 270 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (17) Chapters Close

OpenVPN
1. Credits
2. About the Author
3. About the Reviewers
4. Preface
1. VPN—Virtual Private Network FREE CHAPTER 2. VPN Security 3. OpenVPN 4. Installing OpenVPN 5. Configuring an OpenVPN Server—The First Tunnel 6. Setting Up OpenVPN with X509 Certificates 7. The Command openvpn and its Configuration File 8. Securing OpenVPN Tunnels and Servers 9. Advanced Certificate Management 10. Advanced OpenVPN Configuration 11. Troubleshooting and Monitoring Index

Testing the Network Connectivity


In our typical OpenVPN setup, we have connected two networks (192.168.250.0/24 and 172.16.76.0/24) via two Linux servers that are connected to the Internet via a default gateway. Between the two Linux servers is a tunnel that uses the virtual IPs 10.179.10.1 and 10.179.10.2.

In the connected local networks there are two Linux machines that we will use to test our tunnels (perhaps by conveniently accessing them remotely with Secure Shell). We will now use the tools ifconfig, route, and ping to show and test the network settings.

In our first step, we will check the local system's network address, default route, and if the default router is pingable. The command ifconfig will print statistics of all active network interfaces:

root@sydney:~ #ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:AE:8C:D7
          inet addr:192.168.250.128  Bcast:192.168.250.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image