8000 userpc and user net by thorinaboenke · Pull Request #35 · ait-testbed/attackbed · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

userpc and user net #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 21, 2025
Merged

userpc and user net #35

merged 12 commits into from
Feb 21, 2025

Conversation

thorinaboenke
Copy link
Contributor
@thorinaboenke thorinaboenke commented Feb 19, 2025

relates to #3

  • adds a userpc
  • adds a usernet
  • installs squidproxy on firewall with new role https://github.com/ait-testbed/atb-ansible-squidproxy
  • modifies firewall rules (shorewall_configs in firewall/playbook/main.yml) accordingly: user net is only allowed tcp on squid port (3128) on firewall

How to test:
packer build the userpc and firewall
bootstrap terragrunt apply with the new images
make http or https request from the userpc via proxy 192.168.50.254:3128, for example

curl --proxy http://192.168.50.254:3128 https://www.google.com

check squid access logs

tail -f /var/log/squid/access.log

expected:
image

Note:
Using the proxy still needs to be manually configured on the client(s), depending on future scenarios

@thorinaboenke thorinaboenke marked this pull request as draft February 19, 2025 12:54
@thorinaboenke thorinaboenke marked this pull request as ready for review February 20, 2025 11:58
@thorinaboenke
Copy link
Contributor Author

please review https://github.com/ait-testbed/atb-ansible-squidproxy with this PR as well

@thorinaboenke thorinaboenke linked an issue Feb 20, 2025 that may be closed by this pull request
@whotwagner whotwagner merged commit a9e4339 into main Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add user network
2 participants
0