Question
Configuring Firewalls
I’m running two servers, a Perforce Version Control server and a standard HTTP web server for a CMS, each on separate droplets.
I’m quite unsure what I should be setting for firewall rules on each of these. For the web server I’ve kept pretty much the defaults, inbound SSH on port 22 and all outbound TCP/UDP ports, but I’m really unsure what to do for the Perforce server which connects on 1666. I read this thread which just has me even more confused: https://forums.perforce.com/index.php?/topic/827-ports-to-open-on-firewall/
Any help would be appreciated!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Can you narrow the question? What about the linked thread confused you?
I guess I just have no idea what to set my firewall rules to with Digital Ocean for a Perforce configuration. The thread says it needs 1666, but then if I enable it I’ll end up giving access to some bad data.
It’s saying that it’s unencrypted, yes, so you would need to secure things in some way. Are you needing to access it remotely (e.g. over public internet)?
The recommendation in the thread seems to be to set up a VPN connection and use that to get through the firewall and access perforce. This is a perfectly valid option.
I’ve not worked with perforce myself, I use bitbucket. Does perforce not support ssh, https, or some other secure method?
ah that part makes sense, did some further digging based on your comment and I think I’m getting somewhere. Thanks!