Managing Communication |
virtual device, it sends the traffic to its peer.
7.To create an indirect connection to Host B from Host A, you need to add the following routing item:
route add
To create an indirect connection to Host A from Host B, you need to add the following routing item:
route add
Now ping Host B from Host A by typing:
ping 192.168.4.174
A successful ping indicates that you have created a VPN system that only allows authorized users from one internal network to access users at the remote site. For this system, all data is transmitted by UDP packets on port 5000 between OpenVPN peers.
8.To shut down OpenVPN programs, type the command:
# killall
Setup 2: Ethernet Bridging for Private Networks on the Same Subnet
1.Set up four machines as shown in the following diagram:
Host A
eth0: 192.168.2.171
eth0: 192.168.2.172
local net
OpenVPN A
eth1: 192.168.2.173
eth0: 192.168.8.173
Internet
ixp0: 192.168.8.174
ixp1: 192.168.2.174
Host B
local net
OpenVPN B
2.The configuration procedure is almost the same as for the previous example. The only difference is that you will need to comment out the parameter “up” in