another network via Tun

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
bruno.trombim
OpenVpn Newbie
Posts: 1
Joined: Fri Jul 13, 2018 7:18 pm

another network via Tun

Post by bruno.trombim » Fri Jul 13, 2018 7:39 pm

Hey Guys,

sorry for the drawing i am just try to sum up my question, i have an ovpn client already accessing the network 172.16.1.0/24 through the tun 172.20.205.0/24 via nat, now i wanna reach the network 172.16.3.0 so is that possible with the scenario below ? or may i need to puch one more adapter in my OpenVPN with the network 172.16.3.0 ?

ps. in my Openvpn there is the follow route:

default 189-108-40-17.c 0.0.0.0 UG 0 0 0 eth1
10.0.0.0 172.16.1.17 255.0.0.0 UG 0 0 0 br0
172.16.0.0 172.16.1.17 255.240.0.0 UG 0 0 0 br0
localnet * 255.255.255.0 U 0 0 0 br0
172.16.5.0 * 255.255.255.0 U 0 0 0 eth0.80
172.18.0.0 172.18.4.1 255.255.0.0 UG 0 0 0 eth0.110
172.18.4.0 * 255.255.255.0 U 0 0 0 eth0.110
172.20.204.0 172.20.204.2 255.255.255.0 UG 0 0 0 tun0
172.20.204.2 * 255.255.255.255 UH 0 0 0 tun0
172.20.205.0 172.20.205.2 255.255.255.0 UG 0 0 0 tun1
172.20.205.2 * 255.255.255.255 UH 0 0 0 tun1
172.22.41.0 * 255.255.255.0 U 0 0 0 br1
189.108.40.16 * 255.255.255.248 U 0 0 0 eth1
192.168.0.0 172.16.1.17 255.255.0.0 UG 0 0 0 br0




_ _ _ _ _ _ _ _ _
| |
| Router |
| and | ______ 172.16.3.0/24
| Firewall |
+------------+-------
| (172.16.1.17) GW
|
| +-----------------------+
| | |
| | OpenVPN | eth0: 172.16.1.170/24
+--------------{eth0 server | tun1: 172.20.205.1/24
| | |
| | {tun0} |
| +-----------------------+
|
+--------+-----------+
| |
| Other LAN clients |
| |
| 172.16.1.0/24 |
| (internal net) |
+--------------------+

Post Reply