Jump to content

OpenVPN traffic split: Difference between revisions

No edit summary
Line 63: Line 63:
</li>
</li>
<ul>
<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):
<li>
<pre>  
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  
<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>  
</pre>  
</li>
</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  
<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:
                inet addr:10.0.0.6  P-t-P:<span style="color:red">10.0.0.5</span>  Mask:255.255.255.255  
<pre>
                UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
tun_c_MyClient Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                RX packets:62249 errors:0 dropped:0 overruns:0 frame:0
              inet addr:10.0.0.6  P-t-P:<span style="color:red">10.0.0.5</span>  Mask:255.255.255.255  
                TX packets:62698 errors:0 dropped:1 overruns:0 carrier:0
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
                collisions:0 txqueuelen:100  
              RX packets:62249 errors:0 dropped:0 overruns:0 frame:0
                RX bytes:53341014 (50.8 MiB)  TX bytes:11974147 (11.4 MiB)
              TX packets:62698 errors:0 dropped:1 overruns:0 carrier:0
              collisions:0 txqueuelen:100  
              RX bytes:53341014 (50.8 MiB)  TX bytes:11974147 (11.4 MiB)
</pre>
</pre>
</li>
</li>