Hello everyone,
I would be greatfull if someone could help with choosing the right config etc. for my setup (explained below) as I'm configuring this from scratch. I had a configuration earlier that worked but I don't have access to those configs.
What I had:
[LAN] <-> [Tomato Firmware Router with OVPN] <-> [I-net] <-> [My mobile devices]
Tomato FW OVPN config screenshots:
https://drive.google.com/file/d/0By9-JSV6Inx4a2R3NkY4RHhuMG8/view?usp=sharing
https://drive.google.com/file/d/0By9-JSV6Inx4N2w0Nmlvd0drMFE/view?usp=sharing
My mobile devices worked with this pretty well (notebook, phones, tablet etc.). I didn't redirect all traffic through because I don't need that. I need for the Windows networking to work the same as I would be at home, and for the DNS requests to go through my home router.
My hardware has changed - I use a USFF PC with an i5 as a router (this has the ISP modem connected via RJ45 and talks to my network via another RJ45). Currently I have it running basically just as a router with some basic NAT config via iptables with a couple of ports redirected to LAN machines.
This is setup on a Ubuntu 18.04 server. I would really like to configure OVPN on this machine for use with my devices.
What should I use to achieve that ? TUN or TAP ? I've read somewhere on the OVPN pages (I think it was a FAQ page - can't find it right now) that TUN with all windows file sharing etc generates more traffic that the same achieved with TAP. Is that true ? Almost everywhere I read people are using TUN for windows networking (but they are having NetBIOS issues and can't browse the network neighbourhood - I want for all that to work).
Please advice which way to go, and why is it better that the other way ?
Thank you for any help in advance.
Best regards
Szafran