I was recently assigned a task to do set up a secure development environment. I am thinking of doing the following:
Is this possible?
UPDATE: I guess the more appropriate question is how to block access outside the local network.
Should be pretty easy with UFW.
Assuming your range is something like 192.168.1.x it would be something like
sudo ufw allow from 192.168.1.0/24 to any port 22
sudo ufw allow from 192.168.1.0/24 to any port 80
sudo ufw allow from 192.168.1.0/24 to any port 443
If you want to limit access to an exact IP address it would be something like
sudo ufw allow form xxx.xxx.x.x to any port 22
Basically just check out UFW - Community Help Wiki and brush up on UFW.
Also, if you want to restrict access to VPN the ports are usually
1701/tcp, 4500/udp, and 500/udp
but you may want to look that up to be sure
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments