Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
bridged_openvpn_server_setup [2015/05/08 14:01] – [Final Settings in the VM] nucar | bridged_openvpn_server_setup [2015/11/15 19:18] – nucar | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Bridged OpenVPN Server Setup ====== | ====== Bridged OpenVPN Server Setup ====== | ||
- | (Last updated | + | (Last updated |
===== Introduction ===== | ===== Introduction ===== | ||
Line 7: | Line 7: | ||
This guide describes how to set up a bridge-mode [[http:// | This guide describes how to set up a bridge-mode [[http:// | ||
- | An OpenVPN server in a bridged configuration creates a virtual private network (VPN) that can be thought of as a virtual Ethernet switch to your network. | + | An OpenVPN server in a bridged configuration creates a virtual private network (VPN) that can be thought of as a virtual Ethernet switch to your network. |
Possible uses of this VPN include:\\ | Possible uses of this VPN include:\\ | ||
Line 20: | Line 20: | ||
The computer on which you want to run the OpenVPN server **//must be wired to your router by Ethernet// | The computer on which you want to run the OpenVPN server **//must be wired to your router by Ethernet// | ||
+ | |||
===== Using a Unique Subnet ===== | ===== Using a Unique Subnet ===== | ||
Line 81: | Line 82: | ||
Choose whether you want to participate in the package usage survey. | Choose whether you want to participate in the package usage survey. | ||
- | Use the **space bar** to select only " | + | Use the **space bar** and arrow keys to select only " |
Select “Yes” to install the GRUB boot loader, use the down arrow key to choose the /dev/sda device, and hit return. | Select “Yes” to install the GRUB boot loader, use the down arrow key to choose the /dev/sda device, and hit return. | ||
Line 289: | Line 290: | ||
done | done | ||
- | | + | # |
ifconfig $eth 0.0.0.0 promisc up | ifconfig $eth 0.0.0.0 promisc up | ||
+ | |||
+ | # sleep ? | ||
ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast | ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast | ||
+ | |||
+ | sleep 1 | ||
route add default gw $eth_gateway | route add default gw $eth_gateway | ||
Line 318: | Line 323: | ||
Use the arrow keys to edit the script. | Use the arrow keys to edit the script. | ||
- | The duration of the " | + | The duration |
This script is adapted from the " | This script is adapted from the " | ||
Line 526: | Line 531: | ||
*Some LAN-based programs don't specify which ports they use. Unless you can determine the ports, a VPN is necessary for networking these programs over the Internet. | *Some LAN-based programs don't specify which ports they use. Unless you can determine the ports, a VPN is necessary for networking these programs over the Internet. | ||
- | *You can play shared-screen and "hot seat" games using remote desktop software. | + | *You can play shared-screen and "hot seat" games over the Internet |