Mr Chip53
Enthusiast
I have no idea if this will work but since I have no live and I dont have GTAV on PS3 I thought I would throw it out there. This bypass will be easiest done on PS3 and setup on a linux machine.
Quick Overview
Step Two: URL Rewrite
I do not know if this actually works because I can't connect my XBOX to a proxy, although, you can connect PS3s to proxies so if you have a PS3 is should be easy to test. You can setup PS3 proxy settings like on your web browser.
Quick Overview
- Install Squid(PROXY Server)
- Setup URL Rewrite
- Setup Squid To Transparent Mode
- Make Tunables Appear Legit
- Connect System To Squid
I have Ubuntu(lubuntu, to be specific) so to install squid all I had to do was run this line in the Terminal.
Code:
sudo apt-get install squid3
This may very depending on your flavor on linux but the program your looking for is squid3
Step Two: URL Rewrite
Now you will have to mess around with your squid.conf file so you will want to back it up before making any changes or else have to completely reinstall squid if you mess up(I had to do that).
Assuming you have gedit(I like GUI text editors) run:
Code:
sudo gedit /etc/squid3/squid.conf &
NOTE: Keep the '&' sign in there so it runs it in the background and you can still use your Terminal.
After you have ran that the config file should load up in gedit. There are a few lines you will want to change/add.
First, find a line like this:
Code:
#acl localnet src 192.168.0.0/16
(Might not have the '#' sign)
All this does is define your local IP range(EX: 192.168.0.2-100 is mine)
Assuming your internal IPs look like that uncomment it if it isn't already. There are above and below so if those are you uncomment the one that applies or change one to fit your internal IP range.
Now check for this:
Code:
http_access allow localnet
If you were to connect to your proxy before uncommenting this EVERYTHING would be blocked this allows your local IPs access to HTTP(Unblocks)
If you find this on its own line uncommented you are good to move on otherwise put it on its own line uncommented. I don't remember how I found it.
Second we will be adding a few lines of code. These will be for the URL Rewrite.
Add these:
Code:
url_rewrite_program /etc/squid3/rewrite.pl
url_rewrite_children 5
Above this:
Code:
# TAG: url_rewrite_children
The first line(url_rewrite_program) defines what script will check if the URL needs rewritten and the second line defines how many simultaneous rewrite scripts can run.
Now we need to create the URL Rewrite file.
Do:
Code:
sudo gedit /etc/squid3/rewrite.pl
And paste this code in there:
Code:
#!/usr/bin/perl
use warnings;
use strict;
$|=1;
while (<>) {
my @inputs=split / /;
chomp($inputs[0]);
if ($inputs[0] =~ q|http://prod\.ros\.rockstargames\.com/cloud/11/cloudservices/titles/gta5/xbox360/tunables\.json|) {
print 'http://www.codersvault.cu.cc/GTAV/tunables.json'."\n";
} else {
print "\n";
}
]}
Replace the tunables R* url with whatever you need and the CodersVault with your modded tunables URL and save and close gedit.
Now run this:
Code:
sudo chmod +x /etc/squid3/rewrite.pl
This makes the rewrite script be runnable as an executable.
Step Three: Make Squid TransparentIn Squid.conf find:
Code:
http_port 3128
And change it to:
Code:
http_port 3128 transparent
After that save the config file and close it.
Now we need to add a line to iptables.
Code:
iptables -t nat -A PREROUTING -i NETWORKINTERFACE -p tcp --dport 80 -j DNAT --to SQUIDIP:3128
Replace NETWORKINTERFACE with the network interface you have your XBOX/PS3 connected to. Mine is eth0 because my xbox is plugged into the ethernet port and im getting internet from wlan0(my wifi card).
Replace SQUIDIP with the local ip of the PC running the squid server.
Now you will want to save the iptables config.
For me I did
Code:
sudo iptables-save > /etc/iptables/rules.v4
Because that is where my IPv4 iptables config file was but for others it may be different so you may want to google before you go messing something up!
Now the proxy should work on your XBOX/PS3 without setting any proxy settings on the individual devices.
All thats left is to get the scs-ticket headers n stuff so the modded tunables looks legit to the game.
Step 4: Make Tunables appear legitWorking on it right now.
Step 5: Connect System To Proxy(Obsolete)Restart the server:
Code:
sudo service squid3 restart
Go into your web browser proxy settings and type in the local PC IP(My linux machine is 192.168.0.7) as proxy server and the port should be 3128. Save.
Go to R* tunables URL and Profit?
NOTE: This method isn't finished and I may scrap it and use charles on my linux machine and post a tut for that!
Last edited: