Tue Mar 25, 2025 10:16 am
I want to block any attempts to connect to my router/network via OpenVPN.
I presume that that's someone trying to connect and is testing ports:
Sometimes i could get more then few 100 per day...
I have open 8291 port and i have changed port 1194..
In my Firewall there is a rule:
add action=drop chain=input dst-port=!8291, xxx protocol=tcp and i see that packages get blocked, but still some don't.
That's my question now.. how to block others that don't get doped in this rule?
logs:
2025-03-24 15:16:17 ovpn,info connection established from 194.165.16.162, port: 37479 to xxx
2025-03-24 15:16:17 ovpn,info <194.165.16.162>: disconnected <peer disconnected>
2025-03-24 15:16:17 ovpn,info connection established from 194.165.16.162, port: 37725 to xxx
2025-03-24 15:16:17 ovpn,info <194.165.16.162>: disconnected <peer disconnected>
2025-03-24 15:16:17 ovpn,info connection established from 194.165.16.162, port: 38251 to xxx
2025-03-24 15:16:17 ovpn,info <194.165.16.162>: disconnected <peer disconnected>
2025-03-24 20:37:26 ovpn,info connection established from 51.178.236.241, port: 59595 to xxx
2025-03-24 20:37:26 ovpn,info <51.178.236.241>: disconnected <peer disconnected>
2025-03-24 20:37:26 ovpn,info connection established from 51.178.236.244, port: 35565 to xxx
2025-03-24 20:37:29 ovpn,info <51.178.236.244>: disconnected <peer disconnected>
2025-03-24 21:03:56 ovpn,info connection established from 167.94.146.53, port: 57878 to xxx
2025-03-24 21:04:08 ovpn,info <167.94.146.53>: disconnected <peer disconnected>
2025-03-24 21:04:12 ovpn,info connection established from 167.94.146.53, port: 58226 to xxx
2025-03-24 21:04:15 ovpn,info <167.94.146.53>: disconnected <peer disconnected>
2025-03-24 21:04:18 ovpn,info connection established from 167.94.146.53, port: 58228 to xxx
2025-03-24 21:04:28 ovpn,info <167.94.146.53>: disconnected <peer disconnected>