Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install nginx dnsmasq
- sudo cat > /etc/nginx/conf.d/gta.conf <<END
- server {
- listen 80;
- server_name prod.ros.cloud.rockstargames.com prod.cloud.rockstargames.com;
- location / {
- proxy_pass http://prod.cloud.rockstargames.com/;
- }
- access_log /ps3accesslog.txt;
- location /titles/gta5/xbox360/tunables.json {
- }
- location /titles/gta5/ps3/tunables.json {
- }
- root /gta;
- autoindex on;
- }
- END
- sudo mkdir /gta
- sudo mkdir /gta/titles
- sudo mkdir /gta/titles/gta5
- sudo mkdir /gta/titles/gta5/ps3
- sudo mkdir /gta/titles/gta5/xbox360
- sudo wget http://prod.cloud.rockstargames.com/titles/gta5/xbox360/tunables.json -O /gta/titles/gta5/xbox360/tunables.json
- sudo wget http://prod.cloud.rockstargames.com/titles/gta5/ps3/tunables.json -O /gta/titles/gta5/ps3/tunables.json
- sudo echo `/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` prod.cloud.rockstargames.com prod.ros.cloud.rockstargames.com >>/etc/hosts
- service nginx restart
- service dnsmasq restart
- echo change your game console\'s dns server to `/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
- echo this should be an option in your game console\'s network settings
- echo you may have to manually define an ip address on your console to manually set the dns server.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement