Differences between version 5 and revision by previous author of OpenVPNNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Sunday, February 25, 2007 11:11:37 pm | by TimCareySmith | Revert |
Older page: | version 4 | Last edited on Friday, September 16, 2005 7:58:04 am | by DrewBroadley | Revert |
@@ -5,9 +5,9 @@
Produce [OpenSSL] certificate and keys and copy the key over to the other machine.
__Client Config__
-
+<verbatim>
client
dev tap
proto udp
remote remote.host 1194
@@ -34,12 +34,12 @@
log openvpn.log
log-append openvpn.log
verb 6
mute 20
-
+</verbatim>
__Server Config__
-
+<verbatim>
port 1194
proto udp
dev tap
@@ -73,9 +73,9 @@
log openvpn.log
log-append openvpn.log
verb 6
mute 20
-
+</verbatim>
Make sure ipforwarding is enabled, and setup a bridge device between your internal adaptor and the tap device. On the server site, give you tap device the ip address of the first [IP] in "server-bridge".
Start openvpn on each machine and now you should be able to ping any [IP] on either side of the [VPN] connection.