Dedicated client interfaces
Posted: Wed Oct 09, 2019 9:01 am
Hello. There is a task for each connected client to create its own subinterface so that everyone can see the assigned ip on the local network.
On openvpn-as it looks like this
As a result, when entering the local network on sites or resources, the client have the ip address 10.20.68.XXX
Perhaps there are other options to forward addresses through the VPN server gateway so that clients have assigned DHCP addresses in the gray network?
On openvpn-as it looks like this
Code: Select all
as0t10 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.20.68.161 P-t-P:10.20.68.161 Mask:255.255.255.240
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:52162691 errors:0 dropped:0 overruns:0 frame:0
TX packets:84025816 errors:0 dropped:1673 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:5117049817 (5.1 GB) TX bytes:95562275080 (95.5 GB)
as0t11 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.20.68.177 P-t-P:10.20.68.177 Mask:255.255.255.240
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:57637063 errors:0 dropped:0 overruns:0 frame:0
TX packets:78271326 errors:0 dropped:2657 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:4785732929 (4.7 GB) TX bytes:90190070225 (90.1 GB)
as0t12 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.20.68.193 P-t-P:10.20.68.193 Mask:255.255.255.240
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:25267580 errors:0 dropped:0 overruns:0 frame:0
TX packets:36480799 errors:0 dropped:932 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:3946421244 (3.9 GB) TX bytes:36538399412 (36.5 GB)
Perhaps there are other options to forward addresses through the VPN server gateway so that clients have assigned DHCP addresses in the gray network?