Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/19eb/cs2-relay-blocker
node app to block/unblock certain relays for counter-strike 2
https://github.com/19eb/cs2-relay-blocker
blocker cs2 firewall node relay
Last synced: 20 days ago
JSON representation
node app to block/unblock certain relays for counter-strike 2
- Host: GitHub
- URL: https://github.com/19eb/cs2-relay-blocker
- Owner: 19EB
- License: mit
- Created: 2024-10-21T16:17:29.000Z (28 days ago)
- Default Branch: main
- Last Pushed: 2024-10-21T16:45:15.000Z (28 days ago)
- Last Synced: 2024-10-22T05:38:18.754Z (27 days ago)
- Topics: blocker, cs2, firewall, node, relay
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cs2-relay-blocker
node app to block/unblock certain relays for counter-strike 2 by configuring firewall rules### Prerequisites
- Install [Node.js](https://nodejs.org/en/)### Installing
- Clone the repository
```
git clone https://github.com/19EB/cs2-relay-blocker
```- Install dependencies
```
npm install
```### Running the server blocker
- Run a terminal with elevated privileges (run as administrator)
To block a relay, run the following command
```
npm run blocke.g
npm run block hel
```To unblock a relay
```
npm run unblocke.g
npm run unblock hel
```### Available relays
```
[
{ ams: 'Amsterdam (Netherlands)' },
{ atl: 'Atlanta (Georgia)' },
{ dfw: 'Dallas (Texas)' },
{ dxb: 'Dubai (United Arab Emirates)' },
{ eze: 'Buenos Aires (Argentina)' },
{ fra: 'Frankfurt (Germany)' },
{ gru: 'Sao Paulo (Brazil)' },
{ hel: 'Helsinki (Finland)' },
{ hkg: 'Hong Kong' },
{ iad: 'Sterling (Virginia)' },
{ jfk: 'New York' },
{ jnb: 'Johannesburg (South Africa)' },
{ lax: 'Los Angeles (California)' },
{ lhr: 'London (England)' },
{ lim: 'Lima (Peru)' },
{ mad: 'Madrid (Spain)' },
{ ord: 'Chicago (Illinois)' },
{ par: 'Paris (France)' },
{ pwg: 'Perfect World Guangdong 1 (China)' },
{ pwj: 'Perfect World Tianjin (China)' },
{ pwu: 'Perfect World Hebei (China)' },
{ pww: 'Perfect World Wuhan (China)' },
{ pwz: 'Perfect World Zhejiang (China)' },
{ scl: 'Santiago (Chile)' },
{ sea: 'Seattle (Washington)' },
{ seo: 'Seoul (South Korea)' },
{ sgp: 'Singapore' },
{ shb: 'Perfect World (sha-4) Backbone (Shanghai, China)' },
{ sto: 'Stockholm - Kista (Sweden)' },
{ syd: 'Sydney (Australia)' },
{ tyo: 'Tokyo Koto City (Japan)' },
{ vie: 'Vienna (Austria)' },
{ waw: 'Warsaw (Poland)' },
{ bom2: 'Mumbai (India)' },
{ maa2: 'Chennai - Ambattur (India)' },
{ sto2: 'Stockholm - Bromma (Sweden)' },
{ canm: 'Perfect World Guangdong 2 - Mobile (China)' },
{ ctum: 'Alibaba Cloud Chengdu - Mobile (China)' },
{ pvgm: 'Alibaba Cloud Shanghai Alicloud - Mobile (China)' },
{ sham: 'Perfect World Shanghai - Mobile (China)' },
{ tsnm: 'Perfect World Tianjin - Mobile (China)' },
{ cant: 'Perfect World Guangdong 2 - Telecom (China)' },
{ ctut: 'Alibaba Cloud Chengdu - Telecom (China)' },
{ pvgt: 'Alibaba Cloud Shanghai Alicloud - Telecom (China)' },
{ shat: 'Perfect World Shanghai - Telecom (China)' },
{ tsnt: 'Perfect World Tianjin - Telecom (China)' },
{ canu: 'Perfect World Guangdong 2 - Unicom (China)' },
{ ctuu: 'Alibaba Cloud Chengdu - Unicom (China)' },
{ pvgu: 'Alibaba Cloud Shanghai Alicloud - Unicom (China)' },
{ shau: 'Perfect World Shanghai - Unicom (China)' },
{ tsnu: 'Perfect World Tianjin - Unicom (China)' }
]
```