Post: Lag Switch With Port Forwarding
12-19-2008, 05:44 AM #1
Default Avatar
shmi117
Guest
(adsbygoogle = window.adsbygoogle || []).push({}); What ports do I block to make a lag switch. IS it 3074 or 80???
(adsbygoogle = window.adsbygoogle || []).push({});
02-28-2009, 07:18 PM #2
you have no idea what ur talking about do you. ya cant make a lag switch by blocking ports lol got to the lag switch tut on how to make it
03-01-2009, 04:10 AM #3
Foolnesss
< ^ > < ^ >
wtf are you on? ARE YOU CRAZY please tell me where the hell you got that
03-03-2009, 08:48 PM #4
Physicalfire
Bounty hunter
You can actually, connecting to game servers uses ports, same as any other server. You will need to find out the port in which PSN uses. You could Google PS3 ports and find something I'm sure, if not PM Sony. Blocking a port will cease connection, therefor give LAG. With a lag switch all you doing is stopping a connection, which is the same as this guy asks.

You could always use this if you're not doing PS3 or XBOX360.

You must login or register to view this content.
03-03-2009, 09:21 PM #5
elfmotat
Rᵤᵥ - ½gᵤᵥR ∝ Tᵤᵥ
Originally posted by Physicalfire View Post
You can actually, connecting to game servers uses ports, same as any other server. You will need to find out the port in which PSN uses. You could Google PS3 ports and find something I'm sure, if not PM Sony. Blocking a port will cease connection, therefor give LAG. With a lag switch all you doing is stopping a connection, which is the same as this guy asks.

You could always use this if you're not doing PS3 or XBOX360.

You must login or register to view this content.


this guy speaks the truth.
03-03-2009, 10:06 PM #6
Foolnesss
< ^ > < ^ >
So you'r telling me this kid is going to over and over open and close his ports for lag?
03-04-2009, 09:42 AM #7
Physicalfire
Bounty hunter
Well I suppose it's much more work in a way, but if the guy can't afford to tear open his Ethernet cable, I'm sure this way sounds very likable to him Smile.

The guy may have Linux, so here is a little firewall script for a router.

    <<<@!1!@>>>
#!/bin/sh
# squid server IP
SQUID_SERVER="192.168.0.11"
# Interface connected to Internet
INTERNET="eth0"
# Interface connected to LAN
LAN_IN="eth1"
# Squid port
SQUID_PORT="3128"
# DO NOT MODIFY BELOW
# Clean old firewall
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
# Load IPTABLES modules for NAT and IP conntrack support
modprobe ip_conntrack
modprobe ip_conntrack_ftp
# For win xp ftp client
#modprobe ip_nat_ftp
echo 1 > /proc/sys/net/ipv4/ip_forward
# Setting default filter policy
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
# Unlimited access to loop back
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
# Allow UDP, DNS and Passive FTP
iptables -A INPUT -i $INTERNET -m state --state ESTABLISHED,RELATED -j ACCEPT
# set this system as a router for Rest of LAN
iptables --table nat --append POSTROUTING --out-interface $INTERNET -j MASQUERADE
iptables --append FORWARD --in-interface $LAN_IN -j ACCEPT
# unlimited access to LAN
iptables -A INPUT -i $LAN_IN -j ACCEPT
iptables -A OUTPUT -o $LAN_IN -j ACCEPT
# DNAT port 80 request comming from LAN systems to squid 3128 ($SQUID_PORT) aka transparent proxy
iptables -t nat -A PREROUTING -i $LAN_IN -p tcp --dport 80 -j DNAT --to $SQUID_SERVER:$SQUID_PORT
# if it is same system
iptables -t nat -A PREROUTING -i $INTERNET -p tcp --dport 80 -j REDIRECT --to-port $SQUID_PORT
# DROP everything and Log it
#iptables -A INPUT -j LOG
iptables -A INPUT -j DROP


This should block all connections to any destination from all ports, except 80 which is web browsing. You could make a batch file, with this.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo