Line 59: |
Line 59: |
| option priority '10' | | option priority '10' |
| <ul> | | <ul> |
− | <li> When you're finished, press the "Esc" button and type ''':wq''' to save the changes and exit the editor. The values highlighted in red are dependent on your configuration and will most likely need to be changed:</li> | + | <li> |
− | <ul> <li> option ifname '<span style="color:red>tun_c_MyClient</span>' - this is your OpenVPN interface's name. You can check it with this command: '''ifconfig | grep tun'''. The response should look something like this (''ifname'' highlighted in red): <br> <pre> <span style="color:red>tun_c_MyClient</span> Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 </pre> </li> | + | When you're finished, press the "Esc" button and type ''':wq''' to save the changes and exit the editor. The values highlighted in red are dependent on your configuration and will most likely need to be changed: |
− | <li> option gateway '<span style="color:red>10.0.0.5</span>' - this is your virtual remote endpoint. You can check it with this command: '''ifconfig tun_c_MyClient'''. Replace ''MyClient'' with your own OpenVPN interface name. The response should look something like this: <pre> tun_c_MyClient Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 | + | </li> |
− | inet addr:10.0.0.6 P-t-P:<font color="red">10.0.0.5</font> Mask:255.255.255.255 | + | <ul> |
| + | <li> option ifname '<span style="color:red">tun_c_MyClient</span>' - your OpenVPN interface's name. You can check it with this command: '''ifconfig | grep tun'''. The response should look something like this (''ifname'' highlighted in red): |
| + | <pre> |
| + | <span style="color:red">tun_c_MyClient</span> Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 |
| + | </pre> |
| + | </li> |
| + | <li> option gateway '<span style="color:red">10.0.0.5</span>' - your virtual remote endpoint. You can check it with this command: '''ifconfig tun_c_MyClient'''. Replace ''MyClient'' with your own OpenVPN interface name. The response should look something like this: <pre> tun_c_MyClient Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 |
| + | inet addr:10.0.0.6 P-t-P:<span style="color:red">10.0.0.5</span> Mask:255.255.255.255 |
| UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 | | UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 |
| RX packets:62249 errors:0 dropped:0 overruns:0 frame:0 | | RX packets:62249 errors:0 dropped:0 overruns:0 frame:0 |
Line 68: |
Line 75: |
| collisions:0 txqueuelen:100 | | collisions:0 txqueuelen:100 |
| RX bytes:53341014 (50.8 MiB) TX bytes:11974147 (11.4 MiB) | | RX bytes:53341014 (50.8 MiB) TX bytes:11974147 (11.4 MiB) |
− | </pre> </li> | + | </pre> |
− | <li> option src '<span style="color:red>192.168.1.128/25</span>' - </li> | + | </li> |
− | *** hello
| + | <li> |
| + | option src '<span style="color:red>192.168.1.128/25</span>' - devices from this IP range will reach the Internet via the OpenVPN server |
| + | </li> |
| + | </ul> |
| + | </ul> |