Reputation: 179
I have a headless setup in a VPS where selenium server can run - without X server. However, the selenium port is accessible via port 444 across the internet.
Is it possible so that only localhost:4444 is only allowed and external access is not allowed? Be it selenium command line option or firewall/ip table option.
I usually let the port 4444 open like 2-3 hours while doing testing and I'm afraid of being attacked on that port.
I'm using selenium-server-standalone-2.32.0.jar and behat+mink.
Thanks
Upvotes: 0
Views: 1344
Reputation: 612
Why not trying to close port on WAN interface using iptables or equivalent ? If you and only you, need to access it using internet, consider setup a VPN.
Upvotes: 1