I need help setting up a vpn connection with minimal datausage
Posted: Wed Apr 24, 2024 9:37 pm
I have softether installed in a docker container on my synology NAS> A Teltonika 4G router connects to the Softether server via its OpenVPNclient. SecureNAT is enabled. Connected to the Teltonika router is an ESP8266 which collects voltage and temperature data and uploads it to my MQQT server, which is running in another Docker container on my NAS>
Because the VPN connection between the remote Teltonika 4G router (client) en my Softether server is made through 4G, minimal usage of data is important. I cannot make the SecureNat protocol send less Arp4 broadcast packets than every 5 seconds (despite setting HUB_ARP_SEND_INTERVAL to higher values and setting the 'polling' parameters to 1/true.
So i changed my softether docker container from the network 'bridge' to the netwok 'host', so i can set a local bridge in softether and disable secureNAT. But the effect is that all other broadcasts in my LAN are then sent through the VPN connection to the client. How can i make softether block all LAN traffic not specifically targeted to my VPN client from being sent through the VPN tunnel? So this is basically a networking question, but i need guidance. Any help is appreciated.
Because the VPN connection between the remote Teltonika 4G router (client) en my Softether server is made through 4G, minimal usage of data is important. I cannot make the SecureNat protocol send less Arp4 broadcast packets than every 5 seconds (despite setting HUB_ARP_SEND_INTERVAL to higher values and setting the 'polling' parameters to 1/true.
So i changed my softether docker container from the network 'bridge' to the netwok 'host', so i can set a local bridge in softether and disable secureNAT. But the effect is that all other broadcasts in my LAN are then sent through the VPN connection to the client. How can i make softether block all LAN traffic not specifically targeted to my VPN client from being sent through the VPN tunnel? So this is basically a networking question, but i need guidance. Any help is appreciated.