Page 1 of 1

Online Gaming with a Proxy and Internet Connection Sharing

Posted: Mon Oct 15, 2012 2:06 pm
by 5uhm
Hi,

i want to play my online games with a foreign country proxy where i already have an IP.
So i have a laptop with Linux Ubuntu and ICS also works fine with wlan to ethernet LAN Interface and with a Crossover to my PS2.

The only question here is how can i teach my Laptop-system to share the internet with a proxy to take it on my ethernet-interface?

thanks for ur help :)

Re: Online Gaming with a Proxy and Internet Connection Shari

Posted: Mon Oct 22, 2012 1:39 pm
by john.roush.89
setup routing on your laptop using iptables to forward all internet traffic from the ethernet port back and forth using its own connection settings (through the proxy)

you could also just connect your ps2 directly to the proxy. i'm pretty sure that network configuration tool on the ps2 works with them. and you don't need to use a crossover cable with the ps2; if it's directly connected to your laptop then use a normal ethernet cable. the ps2 is special in that way

Re: Online Gaming with a Proxy and Internet Connection Shari

Posted: Thu Oct 25, 2012 2:36 am
by 5uhm
hi, thanks for ur reply.
so how can i realize it in my linuxOS with iptables? u mean i transform my laptop in a router? (sorry im not experience in Linux ^^ )

Where can i write my proxy IP Adress in the PS2 network configuration tool? i cannot find any proper there :\

Re: Online Gaming with a Proxy and Internet Connection Shari

Posted: Thu Oct 25, 2012 3:03 am
by john.roush.89
if you

open a terminal and type:
sudo su
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -o wlan0 -i eth0 -s 192.168.0.0/24 -m conntrack --ctstate NEW -j ACCEPT
iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
ifconfig eth0 192.168.99.62 up

that will make it a router (replace 192.168."0".0 with whatever your local is, i.e. 192.168.2.0)

i think the proxy setup on the ps2 would be under "Manual" in "IP Address Setup", but i can't check atm
you'll need to manually set your ps2's ip anyway. set it like this:

IP 192.168.99.63
netmask 255.255.255.0
broadcast 192.168.99.255
gateway 192.168.99.62
(proxy stuff)
DNS1 199.195.251.151
DNS2 72.229.137.212

Re: Online Gaming with a Proxy and Internet Connection Shari

Posted: Thu Oct 25, 2012 5:49 pm
by 5uhm
hey, thanks for ur help, i will test this configs next time i am at home :)

but, where i put this config with IP 192.168.99.63 in? network config tool for PS2? and can i also type this DNS IP's with a Port number? (like DNS1 199.195.251.151:8080) ? hmm.. i dont know if this works wothout a regular port.

Re: Online Gaming with a Proxy and Internet Connection Shari

Posted: Thu Oct 25, 2012 8:20 pm
by john.roush.89
192.168.99.63 = your PS2

you won't need to enter a port number for the dns server
it will ask for a port number and your proxy's ip when you get to proxy settings