Page 1 of 1

How to bridge a TUN and a TAP VPNs

Posted: Thu Sep 30, 2021 9:23 pm
by chameleon
I have a TAP VPN (for gaming).
- TAP VPN Server (10.0.0.2) is the NAS of my LAN.
- There are some TAP VPN Clients outside of my LAN.
- All of my LAN (10.0.0.0/255.255.255.0) (windows) computers belong to TAP VPN by default (they do not run a VPN client)
- In server config, I push route 10.8.0.0 (but LAN computers do not get it because they are not VPN clients).

Now, I have also a TUN VPN (to connect android mobile phones).
- TUN VPN Server (10.8.0.1) is the NAS of my LAN.
- There are some TUN VPN Clients outside of my LAN like my android phone (10.8.0.2).
- All of my LAN (windows) computers do NOT belong to TUN VPN.
- In server config, I push route 10.0.0.0.

NOW
- All of my LAN (windows) computers can access TUN VPN Server with 10.8.0.1.
- My phone (10.8.0.2) CANNOT access my PC (10.0.0.8).
- My PC CANNOT access my phone.

I run in my PC the command (windows):

Code: Select all

route /p add 10.8.0.0 mask 255.255.255.0 10.8.0.1
but "ping" does not reach my mobile. Also mobile cannot ping my PC.
But mobile ping 10.0.0.2 and my PC ping 10.8.0.1.

Is there a way to fix this without run a TUN VPN Client in my PC?

Re: How to bridge a TUN and a TAP VPNs

Posted: Thu Sep 30, 2021 11:14 pm
by TinCanTech
Quoth The Eight-ball says:
  • Your route is off-course.

Re: How to bridge a TUN and a TAP VPNs

Posted: Tue Oct 05, 2021 9:42 pm
by chameleon
TinCanTech wrote:
Thu Sep 30, 2021 11:14 pm
  • Your route is off-course.
Which means?

Re: How to bridge a TUN and a TAP VPNs

Posted: Thu Oct 07, 2021 11:12 pm
by chameleon
IP forwarding in my server was off.
I just enable it and all work great.

Re: How to bridge a TUN and a TAP VPNs

Posted: Thu Oct 07, 2021 11:32 pm
by TinCanTech
chameleon wrote:
Thu Oct 07, 2021 11:12 pm
IP forwarding in my server was off
It was ..
chameleon wrote:
Thu Oct 07, 2021 11:12 pm
I just enable it and all work great
Nope.

You figured out this riddle:
TinCanTech wrote:
Thu Sep 30, 2021 11:14 pm
Quoth The Eight-ball says:
  • Your route is off-course.
8-)