I use vanilla FreeBSD on a MiniITX box to serve Internet over 802.11n Wi-Fi and wired LAN and it works great...
Hello, nslay! Could you please give some examples of configuration files for a FreeBSD router? Honestly, I'm quite new to FreeBSD (and Linux too), though I managed to set up my own mini-server on openSUSE with Nextcloud, mail server (Postfix + Dovecot + Roundcube), Samba server and some other stuff.
Recently I bought a chinese mini PC with 4 Ethernet ports to try to set up a router on it, because my ASUS RT-N66U with Asuswrt-Merlin firmware works at its limit. Besides usual tasks, there are two OpenVPN clients working on it (TCP and UDP) and it gives the router very high load.
I tried pfSense on my new mini PC, but I encountered some problems it couldn't solve (because of bugs, I discussed them on pfSense forums). Besides I don't like solutions I can't control thoroughly. So I decided to try to configure router on FreeBSD myself. But, frankly speaking, I don't know where to start. Could you please give me a hand?
Now I have FreeBSD 11.1 working on my mini PC. I'm not going to use it as a Wi-Fi router because it had very weak Wi-Fi module and so I removed it at all. After configuring my FreeBSD router, I will use my current Asus Wi-Fi router as an access point. I've tried it as such already with pfSense, and it works fine.
I also need OpenVPN TCP and UDP clients to work on my router, so I can configure the router in such a way that some hosts in my local network get the internet strictly via OpenVPN and no other way.
I also need port forwarding for 80, 443, 25, 587, 993 ports to my openSUSE server.
And I need Samba (smb, nmb) to work properly in my local network.