Greetings! Am presently, successfully using openvpn, with connections on 443.
Would like to either hide this port, or limit inbound connection/hack attempts.
One way might be portknocking; another might be some sort of iptables trick limiting unsuccessful connections within a time period; e.g.
iptables -I INPUT -p tcp --dport 443 -m state --state NEW \
-m recent --set
iptables -I INPUT -p tcp --dport 443 -m state --state NEW \
-m recent --update --seconds 60 --hitcount 3 -j DROP
Is anyone doing something along these lines?
If yes, please describe how (e.g. ssh into router and change iptables script)? (am usually using an android)
Thank You In Advance
Would like to either hide this port, or limit inbound connection/hack attempts.
One way might be portknocking; another might be some sort of iptables trick limiting unsuccessful connections within a time period; e.g.
iptables -I INPUT -p tcp --dport 443 -m state --state NEW \
-m recent --set
iptables -I INPUT -p tcp --dport 443 -m state --state NEW \
-m recent --update --seconds 60 --hitcount 3 -j DROP
Is anyone doing something along these lines?
If yes, please describe how (e.g. ssh into router and change iptables script)? (am usually using an android)
Thank You In Advance